ReactiveUI.Primitives.Disposables.DisposableSet
A group of disposables that are disposed together, embedded as a mutable field by the type that owns them.
Gets the number of held disposables, or zero after disposal.
Gets a value indicating whether the set is disposed.
Initializes a new instance of the DisposableSet struct holding two disposables.
Initializes a new instance of the DisposableSet struct holding three disposables.
Initializes a new instance of the DisposableSet struct from a group of disposables, skipping null entries.
Adds a disposable, or disposes it immediately when the set is disposed.
Removes and disposes every disposable currently held without disposing the set itself.
Determines whether the set currently holds the supplied disposable.
Copies the disposables currently held into array starting at arrayIndex.
Disposes every held disposable and marks the set disposed; repeated calls have no further effect.
Removes and disposes the requested disposable.
Captures the disposables currently held into a list under the gate.