[]
        
(Showing Draft Content)

C1.DataCollection.C1DataCollectionEx.FilterAsync

FilterAsync Method

FilterAsync<T>(C1DataCollection<T>, Expression<Func<T, object>>, FilterOperation, object)

Filters the data using specified filter parameters.

Declaration
public static Task FilterAsync<T>(this C1DataCollection<T> dataCollection, Expression<Func<T, object>> filterPath, FilterOperation filterOperation, object value) where T : class
Parameters
Type Name Description
C1DataCollection<T> dataCollection

The data collection.

Expression<Func<T, object>> filterPath

The path of the data item to which the filter will be applied.

FilterOperation filterOperation

The filter operation.

object value

The value used in the expression.

Returns
Type Description
Task
Type Parameters
Name Description
T