C# Класс Tasque.Core.BackendManager

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

Открытые методы

Метод Описание
BackendManager ( IPreferences preferences ) : System

Initializes a new instance of the Tasque.Core.BackendManager class.

Dispose ( ) : void

Releases all resource used by the Tasque.Core.BackendManager object.

Call Dispose when you are finished using the Tasque.Core.BackendManager. The Dispose method leaves the Tasque.Core.BackendManager in an unusable state. After calling Dispose, you must release all references to the Tasque.Core.BackendManager so the garbage collector can reclaim the memory that the Tasque.Core.BackendManager was occupying.

GetBackendPreferencesWidget ( ) : IBackendPreferences

Gets the backend preferences widget.

ReInitializeBackend ( ) : void

Reinitializes the current backend. This is a no-op, if CurrentBackendType is null.

SetBackend ( string id ) : void

Sets the backend.

Описание методов

BackendManager() публичный Метод

Initializes a new instance of the Tasque.Core.BackendManager class.
/// thrown when preferences is null. ///
public BackendManager ( IPreferences preferences ) : System
preferences IPreferences /// Preferences. ///
Результат System

Dispose() публичный Метод

Releases all resource used by the Tasque.Core.BackendManager object.
Call Dispose when you are finished using the Tasque.Core.BackendManager. The Dispose method leaves the Tasque.Core.BackendManager in an unusable state. After calling Dispose, you must release all references to the Tasque.Core.BackendManager so the garbage collector can reclaim the memory that the Tasque.Core.BackendManager was occupying.
public Dispose ( ) : void
Результат void

GetBackendPreferencesWidget() публичный Метод

Gets the backend preferences widget.
public GetBackendPreferencesWidget ( ) : IBackendPreferences
Результат IBackendPreferences

ReInitializeBackend() публичный Метод

Reinitializes the current backend. This is a no-op, if CurrentBackendType is null.
/// thrown when the object has been disposed. ///
public ReInitializeBackend ( ) : void
Результат void

SetBackend() публичный Метод

Sets the backend.
/// thrown when the object has been disposed. /// /// thrown when the provided backendType is not one of AvailableBackends. ///
public SetBackend ( string id ) : void
id string
Результат void