C# Class TraktPlugin.GUI.GUIBackgroundTask

Afficher le fichier Open project: trakt/Trakt-for-Mediaportal

Protected Properties

Свойство Type Description
instance GUIBackgroundTask

Private Properties

Свойство Type Description
ExecuteInBackgroundAndCallback bool
ExecuteTaskResultHandler void
StopBackgroundTask void
TaskWatcherTimerElapsed void

Méthodes publiques

Méthode Description
StopBackgroundTask ( ) : void

Méthodes protégées

Méthode Description
GUIBackgroundTask ( ) : System

Private Methods

Méthode Description
ExecuteInBackgroundAndCallback ( Func task, object>.Action resultHandler, string taskDescription, bool timeout ) : bool

This method should be used to call methods in GUI that might take a few seconds. The Wait Cursor will be shown while executing the task and the result handler will be called on MediaPortal's Main thread.

ExecuteTaskResultHandler ( ) : void
StopBackgroundTask ( bool byUserRequest ) : void
TaskWatcherTimerElapsed ( object sender, System e ) : void

Method Details

GUIBackgroundTask() protected méthode

protected GUIBackgroundTask ( ) : System
Résultat System

StopBackgroundTask() public méthode

public StopBackgroundTask ( ) : void
Résultat void

Property Details

instance protected_oe static_oe property

protected static GUIBackgroundTask,TraktPlugin.GUI instance
Résultat GUIBackgroundTask