<PackageReference Include="System.Reactive" Version="4.1.2" />

ListObservable<T>

public class ListObservable<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IObservable<object>
Represents an object that retains the elements of the observable sequence and signals the end of the sequence.
public int Count { get; }

Gets the number of elements contained in the ListObservable.

public bool IsReadOnly { get; }

Gets a value that indicates whether the ListObservable is read-only.

public T this[int index] { get; set; }

Gets or sets the element at the specified index.

public T Value { get; }

Returns the last value of the observable sequence.

public ListObservable(IObservable<T> source)

Constructs an object that retains the values of source and signals the end of the sequence.

public void Add(T item)

Adds an item to the ListObservable.

public void Clear()

Removes all items from the ListObservable.

public bool Contains(T item)

Determines whether the ListObservable contains a specific value.

public void CopyTo(T[] array, int arrayIndex)

Copies the elements of the ListObservable to an System.Array, starting at a particular System.Array index.

Returns an enumerator that iterates through the collection.

public int IndexOf(T item)

Determines the index of a specific item in the ListObservable.

public void Insert(int index, T item)

Inserts an item to the ListObservable at the specified index.

public bool Remove(T item)

Removes the first occurrence of a specific object from the ListObservable.

public void RemoveAt(int index)

Removes the ListObservable item at the specified index.

public IDisposable Subscribe(IObserver<object> observer)

Subscribes an observer to the ListObservable which will be notified upon completion.