Exemple #1
0
 public ValidationResult Validate(R value)
 {
     return(rule(value) ? ValidationResult.Success : ValidationResult.Fail());
 }