Class InPredicate
Predicate that checks whether an expression result is contained in a specified set of values.
public class InPredicate : 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
InPredicate(IExpression, params object[])
Initializes a new instance with the specified expression and allowed values.