Constructor PredicateValidator(Func<IExchange, bool>, Func<IExchange, string>)

Assembly: redb.Route.dll

Creates a validator from a delegate and an error factory.

public PredicateValidator(Func<IExchange, bool> predicate, Func<IExchange, string> errorFactory)