C# Class GSF.Diagnostics.DisposableLoggingClassBase

A helper class that implements IDisposable that will raise log messages when this class is not properly disposed of.
Inheritance: IDisposable
Afficher le fichier Open project: GridProtectionAlliance/gsf

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
Dispose ( ) : void
ThrowDisposed ( ) : void

Method Details

CheckDisposed() protected méthode

Checks if the class has been disposed, throws an exception if this is the case.
protected CheckDisposed ( ) : void
Résultat void

DisposableLoggingClassBase() protected méthode

Creates a DisposableLoggingClassBase
protected DisposableLoggingClassBase ( MessageClass messageClassification ) : System
messageClassification MessageClass
Résultat System

Dispose() protected méthode

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.
Résultat void