C# 클래스 GSF.Diagnostics.DisposableLoggingClassBase

A helper class that implements IDisposable that will raise log messages when this class is not properly disposed of.
상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

보호된 메소드들

메소드 설명
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