Constructor PredicateValidator(IPredicate, string)

Assembly: redb.Route.dll

Creates a validator from a predicate instance and a fixed error message.

public PredicateValidator(IPredicate predicate, string errorMessage = "Validation failed")