[]
        
(Showing Draft Content)

C1.LiveLinq.Indexing.Index-2.FindLess

FindLess Method

FindLess(TKey, bool, Func<TKey, bool>, Order)

Finds items with keys less than the specified value.

Declaration
public virtual IndexQuery<T, TKey> FindLess(TKey key, bool inclusive, Func<TKey, bool> keyPredicate, Order order)
Parameters
Type Name Description
TKey key

Maximum key value to search for.

bool inclusive

If true, the result includes items with the specified key value. Otherwise, the result only includes those with keys strictly less than the specified 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).

Returns
Type Description
IndexQuery<T, TKey>

An object enumerating all items whose key values are less than the specified value.

Implements