C# 클래스 GSF.Adapters.Adapter

상속: System.MarshalByRefObject, IAdapter
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Adapter ( ) : System

Initializes a new instance of the Adapter.

Dispose ( ) : void

Releases all the resources used by the Adapter.

Initialize ( ) : void

Initializes the Adapter.

LoadSettings ( ) : void

Loads saved Adapter settings from the config file if the PersistSettings property is set to true.

SaveSettings ( ) : void

Saves Adapter settings to the config file if the PersistSettings property is set to true.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the Adapter and optionally releases the managed resources.

OnDisposed ( ) : void

Raises the Disposed event.

OnExecutionException ( string activityDescription, Exception encounteredException ) : void

Raises the ExecutionException event.

OnStatusUpdate ( UpdateType updateType, string updateMessage ) : void

Raises the StatusUpdate event.

메소드 상세

Adapter() 공개 메소드

Initializes a new instance of the Adapter.
public Adapter ( ) : System
리턴 System

Dispose() 공개 메소드

Releases all the resources used by the Adapter.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the Adapter 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

Initialize() 공개 메소드

Initializes the Adapter.
public Initialize ( ) : void
리턴 void

LoadSettings() 공개 메소드

Loads saved Adapter settings from the config file if the PersistSettings property is set to true.
has a value of null or empty string.
public LoadSettings ( ) : void
리턴 void

OnDisposed() 보호된 메소드

Raises the Disposed event.
protected OnDisposed ( ) : void
리턴 void

OnExecutionException() 보호된 메소드

Raises the ExecutionException event.
protected OnExecutionException ( string activityDescription, Exception encounteredException ) : void
activityDescription string Activity description to send to event.
encounteredException System.Exception Encountered to send to event.
리턴 void

OnStatusUpdate() 보호된 메소드

Raises the StatusUpdate event.
protected OnStatusUpdate ( UpdateType updateType, string updateMessage ) : void
updateType UpdateType to send to event.
updateMessage string Update message to send to event.
리턴 void

SaveSettings() 공개 메소드

Saves Adapter settings to the config file if the PersistSettings property is set to true.
has a value of null or empty string.
public SaveSettings ( ) : void
리턴 void