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

ReactiveUI.Primitives.Disposables.AssignmentState

The state of a disposable slot that accepts one assignment, 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 AssignmentState(Action action)

Initializes a new instance of the AssignmentState struct.

public static bool op_Equality(AssignmentState left, AssignmentState right)

public static bool op_Inequality(AssignmentState left, AssignmentState right)

public void Dispose()

Runs the action and then disposes the assigned value, once.

public bool Equals(AssignmentState other)