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

Subject<T>

public sealed class Subject<T> : SubjectBase<T>
Represents an object that is both an observable sequence as well as an observer. Each notification is broadcasted to all subscribed observers.
public Subject()

Creates a subject.