C# Класс GSF.Adapters.Adapter

Наследование: System.MarshalByRefObject, IAdapter
Показать файл Открыть проект Примеры использования класса

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