ReactiveUI.Primitives.Disposables.OnceDisposable
A disposable holder whose inner disposable can be set exactly once.
Replaces SingleAssignmentDisposable. Subsequent assignments throw
InvalidOperationException; if the holder has been disposed before
assignment, the supplied disposable is disposed immediately and no exception is thrown.
Gets or sets the inner disposable. Setting more than once throws.
Gets a value indicating whether a disposable has been assigned.
Gets a value indicating whether this instance has been disposed.
public OnceDisposable()