C# Class Tasque.Core.BackendManager

Inheritance: IDisposable
ファイルを表示 Open project: GNOME/tasque Class Usage Examples

Public Methods

Method Description
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.

Method Details

BackendManager() public method

Initializes a new instance of the Tasque.Core.BackendManager class.
/// thrown when preferences is null. ///
public BackendManager ( IPreferences preferences ) : System
preferences IPreferences /// Preferences. ///
return System

Dispose() public method

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
return void

GetBackendPreferencesWidget() public method

Gets the backend preferences widget.
public GetBackendPreferencesWidget ( ) : IBackendPreferences
return IBackendPreferences

ReInitializeBackend() public method

Reinitializes the current backend. This is a no-op, if CurrentBackendType is null.
/// thrown when the object has been disposed. ///
public ReInitializeBackend ( ) : void
return void

SetBackend() public method

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
return void