ComponentOne Data Source for Entity Framework
C1.LiveLinq Namespace / IObservableSource<T> Interface
The type of the elements in the collection.

In This Topic
    IObservableSource<T> Interface
    In This Topic
    Provides methods and events that are required for LiveLinq functionality, indexing and live views.
    Object Model
    IObservableSource<T> Interface
    Public Interface IObservableSource(Of T) 
    public interface IObservableSource<T> 
    Type Parameters
    The type of the elements in the collection.

    Indexing and live view functionality is available for any collection that supports change notifications necessary for maintaining indexes and live views, that is, fires events when an item is added to or removed from the collection and when a property of the item changes. So, the members of this interface are mostly concerned with providing such notifications.

    Classes implementing this interface usually also implement C1.LiveLinq.Indexing.IIndexedSource<T>.

    Both these interfaces are implemented by all main LiveLinq collection classes: C1.LiveLinq.Collections.IndexedCollection<T>, C1.LiveLinq.AdoNet.IndexedDataTable<TRow>, C1.LiveLinq.LiveViews.View<T>.

    You need to implement this interface only if you want to define your own indexable collection classes and then only if they don't inherit from C1.LiveLinq.Collections.IndexedCollection<T>, see LiveLinq to Objects: IndexedCollection(T) and other collection classes.

    See Also