Constructor PredicateValidator(IPredicate, string)
Creates a validator from a predicate instance and a fixed error message.
public PredicateValidator(IPredicate predicate, string errorMessage = "Validation failed")
Creates a validator from a predicate instance and a fixed error message.
public PredicateValidator(IPredicate predicate, string errorMessage = "Validation failed")