Disposable Class

Provides a set of static methods for creating Disposables.

Inheritance Hierarchy

System.Object
  System.Reactive.Disposables.Disposable

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

Syntax

'Declaration
Public NotInheritable Class Disposable
'Usage
public static class Disposable
public ref class Disposable abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Disposable =  class end
public final class Disposable

The Disposable type exposes the following members.

Properties

  Name Description
Public propertyStatic member Empty Gets the disposable that does nothing when disposed.

Top

Methods

  Name Description
Public methodStatic member Create Creates the disposable that invokes the specified action when disposed.

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