SubjectBase<T>
public abstract class SubjectBase<T> : ISubject<T>, ISubject<T, T>, IObserver<T>, IObservable<T>, IDisposable
Base class for objects that are both an observable sequence as well as an observer.
Indicates whether the subject has observers subscribed to it.
Indicates whether the subject has been disposed.
protected SubjectBase()
Releases all resources used by the current instance of the subject and unsubscribes all observers.
Notifies all subscribed observers about the end of the sequence.
Notifies all subscribed observers about the specified exception.
Notifies all subscribed observers about the arrival of the specified element in the sequence.
Subscribes an observer to the subject.