Constructor PredicateValidator(Func<IExchange, bool>, string)
Creates a validator from a delegate and a fixed error message.
public PredicateValidator(Func<IExchange, bool> predicate, string errorMessage = "Validation failed")
Creates a validator from a delegate and a fixed error message.
public PredicateValidator(Func<IExchange, bool> predicate, string errorMessage = "Validation failed")