<PackageReference Include="ReactiveUI.Disposables" Version="10.0.0" />

ReactiveUI.Primitives.Disposables.ReplaceableState

The state of a disposable slot whose inner value can be replaced, embedded as a mutable field by the slot that owns it.
public bool IsDisposed { get; }

Gets a value indicating whether the slot is disposed.

public ReplaceableState(Action action)

Initializes a new instance of the ReplaceableState struct.

public static bool op_Equality(ReplaceableState left, ReplaceableState right)

public static bool op_Inequality(ReplaceableState left, ReplaceableState right)

public void Dispose()

Disposes the inner value and then invokes the action, once.

public bool Equals(ReplaceableState other)