SingleAssignmentDisposable Methods
Include Protected Members
Include Inherited Members
The SingleAssignmentDisposable type exposes the following members.
Methods
NameDescriptionDisposeDisposes the underlying disposable.
Equals(Inherited from Object.)
Finalize(Inherited from Object.)
GetHashCode(Inherited from Object.)
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
ToString(Inherited from Object.)Top
See Also
Reference
SingleAssignmentDisposable Class
System.Reactive.Disposables Namespace
SingleAssignmentDisposable Class
A SingleAssignmentDisposable only allows a single assignment of its disposable object. If it has already been assigned, attempts to set the underlying object will throw an InvalidOperationException.
Inheritance Hierarchy
System.Object
System.Reactive.Disposables.SingleAssignmentDisposable
Namespace: System.Reactive.Disposables
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Class SingleAssignmentDisposable _
Implements IDisposable
'Usage
Dim instance As SingleAssignmentDisposable
public class SingleAssignmentDisposable : IDisposable
public ref class SingleAssignmentDisposable : IDisposable
type SingleAssignmentDisposable =
class
interface IDisposable
end
public class SingleAssignmentDisposable implements IDisposable
The SingleAssignmentDisposable type exposes the following members.
Constructors
NameDescriptionSingleAssignmentDisposableInitializes a new instance if the SingleAssignmentDisposable class.Top
Properties
NameDescriptionDisposableGets or sets the underlying disposable.
IsDisposedGets a value indicating whether the object is disposed.Top
Methods
NameDescriptionDisposeDisposes the underlying disposable.
Equals(Inherited from Object.)
Finalize(Inherited from Object.)
GetHashCode(Inherited from Object.)
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
ToString(Inherited from Object.)Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
System.Reactive.Disposables Namespace
SingleAssignmentDisposable Constructor
Initializes a new instance if the SingleAssignmentDisposable class.
Namespace: System.Reactive.Disposables
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New SingleAssignmentDisposable()
public SingleAssignmentDisposable()
public:
SingleAssignmentDisposable()
new : unit -> SingleAssignmentDisposable
public function SingleAssignmentDisposable()
Remarks
A SingleAssignmentDisposable only allows a single assignment of its disposable object. If it has already been assigned, attempts to set the underlying object will throw an InvalidOperationException.
See Also
Reference
SingleAssignmentDisposable Class
System.Reactive.Disposables Namespace
SingleAssignmentDisposable Properties
Include Protected Members
Include Inherited Members
The SingleAssignmentDisposable type exposes the following members.
Properties
NameDescriptionDisposableGets or sets the underlying disposable.
IsDisposedGets a value indicating whether the object is disposed.Top