Esempio n. 1
0
 protected TValidator WhenInt <TValidator>(Func <object, bool> predicate) where TValidator : PropertyValidator
 {
     CurrentValidationRule.WhenPredicate(predicate);
     return((TValidator)this);
 }
Esempio n. 2
0
 protected TValidator WithMessageInt <TValidator>(string message) where TValidator : PropertyValidator
 {
     CurrentValidationRule.WithMessage(message);
     return((TValidator)this);
 }