[]
Creates a FilterExpression from a query string.
public static FilterExpression? CreateFilterFromString<T>(this IDataCollection<T> dataCollection, string query, bool treatSpacesAsAndOperator = true, bool matchNumbers = true, bool matchCase = false, bool matchWholeWord = false) where T : class?
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| string | query | The query string to be filtered. |
| bool | treatSpacesAsAndOperator | if set to |
| bool | matchNumbers | if set to |
| bool | matchCase | If set to |
| bool | matchWholeWord | If set to |
| Type | Description |
|---|---|
| FilterExpression |
| Name | Description |
|---|---|
| T |