BooleanDisposable Class

Represents an IDisposable that can be checked for status.

Inheritance Hierarchy

System.Object
  System.Reactive.Disposables.BooleanDisposable

Namespace:  System.Reactive.Disposables
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public NotInheritable Class BooleanDisposable _
    Implements IDisposable
'Usage
Dim instance As BooleanDisposable
public sealed class BooleanDisposable : IDisposable
public ref class BooleanDisposable sealed : IDisposable
[<SealedAttribute>]
type BooleanDisposable =  
    class
        interface IDisposable
    end
public final class BooleanDisposable implements IDisposable

The BooleanDisposable type exposes the following members.

Constructors

  Name Description
Public method BooleanDisposable Initializes a new instance of the BooleanDisposable class.

Top

Properties

  Name Description
Public property IsDisposed Gets a value that indicates whether the object is disposed.

Top

Methods

  Name Description
Public method Dispose Sets the status to Disposed.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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