예제 #1
0
 public void SelfCheck(IValidateResult result)
 {
     if (Salary <= 0)
     {
         result.Set("Salary", "Validate Error : Salary <= 0");
     }
 }
예제 #2
0
 public void SelfCheck(IValidateResult result)
 {
     if (Salary <= 0)
     {
         result.Set("Salary", "Validate Error : Salary <= 0");
     }
 }
예제 #3
0
 protected void LogValidateResult(IValidateResult result, string msg)
 {
     result.Set(_pInfo.Name, msg);
 }