Class NotPredicate
Predicate that negates the boolean result of an expression (logical NOT).
public class NotPredicate : IPredicate
Inheritance
Implements
Methods
Matches(IExchange)
Evaluates the predicate synchronously against the exchange.
public bool Matches(IExchange exchange)
MatchesAsync(IExchange)
Evaluates the predicate asynchronously against the exchange.
public Task<bool> MatchesAsync(IExchange exchange)
Constructors
NotPredicate(IExpression)
Initializes a new instance with the expression to negate.