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

Assembly: redb.Route.dll

Creates a validator from a predicate instance and an error factory.

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