// ------------------------ ValidityCheck -------------------------- public virtual void ValidityCheck(AcAccountMasterRow InRow) { if (Stringer.IsBlank(InRow.AccountName)) { throw(new AccountMasterException("Account name is blank")); } if (Stringer.IsBlank(InRow.Password)) { throw(new AccountMasterException("Password is missing")); } }
public void AddToCompilerOptions(string InOptions) { if (Stringer.IsBlank(this.CompilerOptions) == true) { this.CompilerOptions = InOptions; } else { this.CompilerOptions = this.CompilerOptions + " " + InOptions; } }