[]
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?
| 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 |