Class BetweenPredicate

Assembly: redb.Route.dll

Predicate that checks whether an expression result falls between two values (inclusive).

public class BetweenPredicate : IPredicate

Inheritance

Object→BetweenPredicate

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

BetweenPredicate(IExpression, object, object)

Initializes a new instance with the specified expression and boundary values.