예제 #1
0
 public ValueMatchValidationRule(ValidatableProperty <T> validatable, string validationMessage = "Erro")
 {
     Target            = validatable;
     ValidationMessage = validationMessage;
 }
예제 #2
0
 public static ValueMatchValidationRule <T> Create <T>(ValidatableProperty <T> target, string message = "Erro")
 {
     return(new ValueMatchValidationRule <T>(target, message));
 }