[]
        
(Showing Draft Content)

C1.LiveLinq.Indexing.Index-1

Index<T> Class

Base class for the Index<T, TKey> class.

Inheritance
Index<T>
Index<T, TKey>
Implements
Namespace: C1.LiveLinq.Indexing
Assembly: C1.LiveLinq.4.8.dll
Syntax
public abstract class Index<T> : IndexDefinition<T>, IIndexScanner<T>
Type Parameters
Name Description
T

The type of the elements of the collection to index.

Remarks

You don't typically use the Index<T> class directly. It provides functionality of the Index<T, TKey> class that does not depend on the index key type. The base class Index<T> is needed only if the index key type is not known, usually in general-purpose code intended for reuse with different key types.

Properties

Name Description
ItemCount

Gets the number of elements in the indexed collection.

KeyCount

Gets the number of distinct key values in all items of this collection.

Methods

Name Description
ContainsKey(object)

Returns a value that indicates whether the indexed collection contains an item with the given key value.

Implements IIndexScanner(T).ContainsKey(object)

Find(object)

Finds items with the specified key value.

Implements IIndexScanner(T).Find(object)

FindBetween(object, bool, object, bool, Order)

Finds items with key values in the interval between the specified values.

Implements IIndexScanner(T).FindBetween(object,bool,object,bool,Order)

FindGreater(object, bool, Order)

Finds items with keys greater than the specified value.

Implements IIndexScanner(T).FindGreater(object,bool,Order)

FindKeys(IEnumerable, Order)

Finds items containing any of the specified key values.

Implements FindKeys(IEnumerable,Order)

FindLess(object, bool, Order)

Finds items with keys less than the specified value.

Implements IIndexScanner(T).FindLess(object,bool,Order)

FindStartingWith(string, Func<string, bool>, Order)

Finds items with string key values starting with the specified string.

Implements IIndexScanner(T).FindStartingWith(string,Func(string, bool),Order)

GroupJoin<T2, TResult>(IIndexScanner<T2>, Func<T, IEnumerable<T2>, TResult>)

Correlates the items of this indexed collection with the items of another indexed collection and groups the results by the item of this collection.

Implements IIndexScanner(T).GroupJoin

GroupJoin<T2, TResult>(IEnumerable<T2>, Func<T2, object>, Func<IEnumerable<T>, T2, TResult>)

Correlates the items of this indexed collection with the items of another sequence and groups the results by the item of the second sequence.

Implements IIndexScanner(T).GroupJoin

GroupJoin<T2, TResult>(IEnumerable<T2>, Func<T2, object>, Func<T, IEnumerable<T2>, TResult>)

Correlates the items of this indexed collection with the items of another sequence and groups the results by the item of this collection.

Implements IIndexScanner(T).GroupJoin

Join<T2, TResult>(IIndexScanner<T2>, Func<T, T2, TResult>, JoinOperator)

Correlates the items of this indexed collection with the items of another indexed collection and returns the combined items with matching keys.

Implements IIndexScanner(T).Join

Join<T2, TResult>(IEnumerable<T2>, Func<T2, object>, Func<T, T2, TResult>, JoinOperator)

Correlates the items of this indexed collection with the items of another sequence and returns the combined items with matching keys.

Implements IIndexScanner(T).Join

Extension Methods

See Also

Index<T, TKey>