dist/hobbies/node-business-rules.js
function BusinessRules(Data) {
            this.Data = Data;
            this.MainValidator = this.createMainValidator().CreateRule("Data");

            this.ValidationResult = this.MainValidator.ValidationResult;
            this.HobbiesNumberValidator = this.MainValidator.Validators["Hobbies"];
        }
function BusinessRules(Data) {
            this.Data = Data;
            this.MainValidator = this.createMainValidator().CreateRule("Data");

            this.ValidationResult = this.MainValidator.ValidationResult;
            this.HobbiesNumberValidator = this.MainValidator.Validators["Hobbies"];
        }
function BusinessRules ( Data ) { this . Data = Data ; this . MainValidator = this . createMainValidator ( ) . CreateRule ( "Data" ) ; this . ValidationResult = this . MainValidator . ValidationResult ; this . HobbiesNumberValidator = this . MainValidator . Validators [ "Hobbies" ] ; }
Default constructor.
@param data
Default constructor .