SingleAssignmentDisposableValue
Represents a disposable resource which only allows a single assignment of its underlying disposable resource.
If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an InvalidOperationException.
Gets or sets the underlying disposable. After disposal, the result of getting this property is undefined.
Gets a value that indicates whether the object is disposed.
public static bool op_Equality(SingleAssignmentDisposableValue left, SingleAssignmentDisposableValue right)
public static bool op_Inequality(SingleAssignmentDisposableValue left, SingleAssignmentDisposableValue right)
Disposes the underlying disposable.