[]
Creates the predicate from the filterExpression.
public static Func<object, int, bool> CreatePredicate<T>(this IDataCollection<T> dataCollection, FilterExpression? filterExpression, C1FilterDataCollection<T>.FilterCache? cache = null) where T : class?
Public Shared Function CreatePredicate(Of T As Class)(dataCollection As IDataCollection(Of T), filterExpression As FilterExpression, Optional cache As C1FilterDataCollection(Of T).FilterCache = Nothing) As Func(Of Object, Integer, Boolean)
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| FilterExpression | filterExpression | The filter expression. |
| C1FilterDataCollection<T>.FilterCache | cache | Optional filter cache to accelerate predicate creation if it was already created. |
| Type | Description |
|---|---|
| Func<object, int, bool> |
| Name | Description |
|---|---|
| T |