SingleAssignmentDisposableValue struct¶
Defined in
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.dll
Full name: System.Reactive.Disposables.SingleAssignmentDisposableValue
Modifiers: public sealed
Summary¶
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.
Applies to
netstandard2.0
Properties¶
| Name | Summary |
|---|---|
| IsDisposed | Gets a value that indicates whether the object is disposed. |
| Disposable | Gets or sets the underlying disposable. After disposal, the result of getting this property is undefined. |
Methods¶
| Name | Summary |
|---|---|
| Dispose | Disposes the underlying disposable. |
| Equals | |
| GetHashCode |
Operators¶
| Name | Summary |
|---|---|
| static op_Equality | |
| static op_Inequality |