[]
        
(Showing Draft Content)

C1.LiveLinq.Indexing.IndexCollection-1.-ctor

IndexCollection Constructor

IndexCollection(IObservableSource<T>)

Initializes a new instance of the IndexCollection<T> class.

Declaration
public IndexCollection(IObservableSource<T> source)
Parameters
Type Name Description
IObservableSource<T> source

The collection to be indexed.

Remarks

Normally, you don't need to create instances of the IndexCollection<T> class in your code, they already exist in the instances of LiveLinq indexed collection classes. You need to create them explicitly in code only if you define your own indexable collection class and then only if it does not inherit from IndexedCollection<T>.