Class StartsWithPredicate

Assembly: redb.Route.dll

Predicate that checks whether a string expression result starts with a given value.

public class StartsWithPredicate : IPredicate

Inheritance

Object→StartsWithPredicate

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

StartsWithPredicate(IExpression, object)

Initializes a new instance with the specified expression and prefix value.