C# Класс AK.F1.Timing.Utility.DisposableBase

Defines a base for a class which implements the Disposable pattern. This class is .
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
DisposeOf ( IDisposable disposable ) : void

Helper method to safely dispose of the specified disposable instance.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
CheckDisposed ( ) : void
IDisposable ( ) : void

Описание методов

Dispose() защищенный метод

Disposes of this instance.
protected Dispose ( bool disposing ) : void
disposing bool if being called explicitly, otherwise; /// to indicate being called implicitly by the GC.
Результат void

DisposeOf() публичный статический метод

Helper method to safely dispose of the specified disposable instance.
public static DisposeOf ( IDisposable disposable ) : void
disposable IDisposable The disposable instance. Can be .
Результат void

DisposeOfManagedResources() защищенный абстрактный метод

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
Результат void