[]
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?
Public Shared Function CreateFilterFromString(Of T As Class)(dataCollection As IDataCollection(Of T), query As String, Optional treatSpacesAsAndOperator As Boolean = True, Optional matchNumbers As Boolean = True, Optional matchCase As Boolean = False, Optional matchWholeWord As Boolean = False) As FilterExpression
| 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 |