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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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