C# Class AK.F1.Timing.Utility.DisposableBase

Defines a base for a class which implements the Disposable pattern. This class is .
Inheritance: IDisposable
Afficher le fichier Open project: simoneb/ak-f1-timing

Méthodes publiques

Méthode Description
DisposeOf ( IDisposable disposable ) : void

Helper method to safely dispose of the specified disposable instance.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes of this instance.

DisposeOfManagedResources ( ) : void

Disposes of the managed resources held by this instance. This method is guaranteed to be invoked only once when this instance is initially disposed of.

Private Methods

Méthode Description
CheckDisposed ( ) : void
IDisposable ( ) : void

Method Details

Dispose() protected méthode

Disposes of this instance.
protected Dispose ( bool disposing ) : void
disposing bool if being called explicitly, otherwise; /// to indicate being called implicitly by the GC.
Résultat void

DisposeOf() public static méthode

Helper method to safely dispose of the specified disposable instance.
public static DisposeOf ( IDisposable disposable ) : void
disposable IDisposable The disposable instance. Can be .
Résultat void

DisposeOfManagedResources() protected abstract méthode

Disposes of the managed resources held by this instance. This method is guaranteed to be invoked only once when this instance is initially disposed of.
protected abstract DisposeOfManagedResources ( ) : void
Résultat void