C# 클래스 Tasque.Core.BackendManager

상속: IDisposable
파일 보기 프로젝트 열기: GNOME/tasque 1 사용 예제들

공개 메소드들

메소드 설명
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