C# Class PortableRx.Reactive.Disposables.RefCountDisposable

Represents a disposable resource that only disposes its underlying disposable resource when all dependent disposable objects have been disposed.
Inheritance: ICancelable
Afficher le fichier Open project: robfe/PortableRx Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes the underlying disposable only when all dependent disposables have been disposed.

RefCountDisposable ( IDisposable disposable ) : System

Initializes a new instance of the T:Catch.Reactive.Disposables.RefCountDisposable class with the specified disposable.

Private Methods

Méthode Description
GetDisposable ( ) : IDisposable
Release ( ) : void

Method Details

Dispose() public méthode

Disposes the underlying disposable only when all dependent disposables have been disposed.
public Dispose ( ) : void
Résultat void

RefCountDisposable() public méthode

Initializes a new instance of the T:Catch.Reactive.Disposables.RefCountDisposable class with the specified disposable.
is null.
public RefCountDisposable ( IDisposable disposable ) : System
disposable IDisposable Underlying disposable.
Résultat System