Class Query<T>
A Query defines an operation that can be used to filter a data set.
Inherited Members
Namespace: Unity.QuickSearch
Syntax
public class Query<T> : Query<T, Func<T, bool>, IEnumerator<T>>
Type Parameters
Name | Description |
---|---|
T | The filtered data type. |
Methods
Apply(IEnumerable<T>)
Apply the filtering on an IEnumerable data set.
Declaration
public IEnumerable<T> Apply(IEnumerable<T> data)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | data | The data to filter |
Returns
Type | Description |
---|---|
IEnumerable<T> | A filtered IEnumerable. |
Apply(IEnumerator<T>)
Apply the filtering on an IEnumerator.
Declaration
public IEnumerable<T> Apply(IEnumerator<T> data)
Parameters
Type | Name | Description |
---|---|---|
IEnumerator<T> | data | The data to filter |
Returns
Type | Description |
---|---|
IEnumerable<T> | A filtered IEnumerable. |