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