C# Class GSF.Adapters.Adapter

Inheritance: System.MarshalByRefObject, IAdapter
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

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

Méthodes protégées

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

Method Details

Adapter() public méthode

Initializes a new instance of the Adapter.
public Adapter ( ) : System
Résultat System

Dispose() public méthode

Releases all the resources used by the Adapter.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

Initialize() public méthode

Initializes the Adapter.
public Initialize ( ) : void
Résultat void

LoadSettings() public méthode

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

OnDisposed() protected méthode

Raises the Disposed event.
protected OnDisposed ( ) : void
Résultat void

OnExecutionException() protected méthode

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

OnStatusUpdate() protected méthode

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

SaveSettings() public méthode

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