Interface ObservableList<T>
A observable collection of values that can be individually accessed by index.
Inherited Members
System.Collections.Generic.IList<T>.IndexOf(T)
System.Collections.Generic.IList<T>.Insert(System.Int32, T)
System.Collections.Generic.IList<T>.RemoveAt(System.Int32)
System.Collections.Generic.IList<T>.Item[System.Int32]
System.Collections.Generic.ICollection<T>.Add(T)
System.Collections.Generic.ICollection<T>.Clear()
System.Collections.Generic.ICollection<T>.Contains(T)
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)
System.Collections.Generic.ICollection<T>.Remove(T)
System.Collections.Generic.ICollection<T>.Count
System.Collections.Generic.ICollection<T>.IsReadOnly
System.Collections.Generic.IEnumerable<T>.GetEnumerator()
Namespace: TinkState
Assembly: Nadako.TinkState.dll
Syntax
public interface ObservableList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name | Description |
---|---|
T | The type of elements in the list. |
Remarks
This is an observable wrapper around System.Collections.Generic.List`1 that lets auto-Observables track
any changes to the collection.
Methods
Observe()
Return an Observable<T> object that represent a read-only version of this list.
It will trigger its bindings and tracking auto-observables every time the list is changed.
Declaration
Observable<IReadOnlyList<T>> Observe()
Returns
Type | Description |
---|---|
Observable<System.Collections.Generic.IReadOnlyList<T>> | An observable for tracking all list changes. |
Remarks
The value of the returned observable is a read-only interface to the internal storage of this list,
meaning that further access to its items will not be tracked by auto-observables and its contents might change over time.