C# Класс GSF.Diagnostics.DisposableLoggingClassBase

A helper class that implements IDisposable that will raise log messages when this class is not properly disposed of.
Наследование: IDisposable
Показать файл Открыть проект

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

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

Checks if the class has been disposed, throws an exception if this is the case.

DisposableLoggingClassBase ( MessageClass messageClassification ) : System

Creates a DisposableLoggingClassBase

Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the DisposableLoggingClassBase object and optionally releases the managed resources.

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

Метод Описание
Dispose ( ) : void
ThrowDisposed ( ) : void

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

CheckDisposed() защищенный Метод

Checks if the class has been disposed, throws an exception if this is the case.
protected CheckDisposed ( ) : void
Результат void

DisposableLoggingClassBase() защищенный Метод

Creates a DisposableLoggingClassBase
protected DisposableLoggingClassBase ( MessageClass messageClassification ) : System
messageClassification MessageClass
Результат System

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

Releases the unmanaged resources used by the DisposableLoggingClassBase object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void