[]
Finds items with key values in the interval between the specified values.
IndexQuery<T, TKey> FindBetween(TKey min, bool minInclusive, TKey max, bool maxInclusive, Func<TKey, bool> keyPredicate, Order order)
Type | Name | Description |
---|---|---|
TKey | min | Minimum key value to search for. |
bool | minInclusive | If true, the result includes items with the minimum key value. |
TKey | max | Maximum key value to search for. |
bool | maxInclusive | If true, the result includes items with the maximum key value. |
Func<TKey, bool> | keyPredicate | An optional condition that found items must satisfy. |
Order | order | Optionally specifies the order of the key values to sort the result (Order.Unordered if sorting is not required). |
Type | Description |
---|---|
IndexQuery<T, TKey> | An object enumerating all items with key values within the specified limits. |