ExpressionExtensionsGetFilterExpressionDelegateTItem Method

Retrieves a FilterItem expression by using the specified filterItem to compare the property value with the filter item value.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static Expression<Func<TItem, bool>> GetFilterExpressionDelegate<TItem>(
	FilterItem filterItem
)
where TItem : class

Parameters

filterItem  FilterItem
FilterItem to apply.

Type Parameters

TItem
Model to filter on (not the property of the model!)

Return Value

ExpressionFuncTItem, Boolean
Expression to execute for filtering.

See Also