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

Assembly: redb.Route.dll

Creates a validator from a delegate and a fixed error message.

public PredicateValidator(Func<IExchange, bool> predicate, string errorMessage = "Validation failed")