Search documentationEsc

WhereExpressionInfo<TItem>

Container class for a where predicate

Namespace: Microsoft.Azure.CosmosRepository.Specification
Kind: class

Container class for a where predicate

public class WhereExpressionInfo<TItem>

Type parameters

NameDescription
TItem

Remarks

Constructor for creating a where expression

Example

Members

Constructor

WhereExpressionInfo<TItem>.WhereExpressionInfo(Expression<Func<TItem, bool>>)

Container class for a where predicate

public WhereExpressionInfo(Expression<Func<TItem, bool>> filter)

Parameters

NameTypeDescription
filterBoolean}}

Constructor for creating a where expression

Property

WhereExpressionInfo<TItem>.Filter

A predicate that is used for filtering. Given an item of TItem a function evalut

public Expression<Func<TItem, bool>> Filter { get; }

ReturnsBoolean}}