Interface ISearchQuery<TData>
Interface used to apply a search query to a given set of data.
Namespace: Unity.Properties.UI
Syntax
public interface ISearchQuery<TData>
Type Parameters
Name | Description |
---|---|
TData | The search data type. |
Properties
SearchString
Gets the original search string for the query.
Declaration
string SearchString { get; }
Property Value
Type | Description |
---|---|
String |
Tokens
List of tokens found in the query.
Declaration
ICollection<string> Tokens { get; }
Property Value
Type | Description |
---|---|
ICollection<String> |
Methods
Apply(IEnumerable<TData>)
Applies the search filters to the specified
Declaration
IEnumerable<TData> Apply(IEnumerable<TData> data)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TData> | data | The data set to filter. |
Returns
Type | Description |
---|---|
IEnumerable<TData> | An |