Class ContainsPredicate

Assembly: redb.Route.dll

Predicate that checks whether a string contains a substring or a collection contains an element.

public class ContainsPredicate : IPredicate

Inheritance

Object→ContainsPredicate

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

ContainsPredicate(IExpression, object)

Initializes a new instance with the specified expression and value to search for.