Метод | Описание | |
---|---|---|
ActivityMonitorVM ( ActivityMonitor p_amnActivityMonitor, ISettings p_setSettings ) : Nexus.Client.BackgroundTasks |
A simple constructor that initializes the object with its dependencies.
|
|
CanCancelTask ( IBackgroundTask p_tskTask ) : bool |
Determines if the given IBackgroundTask can be cancelled.
|
|
CanPauseActivity ( IBackgroundTask p_tskTask ) : bool |
Determines if the given IBackgroundTask can be paused.
|
|
CanRemoveActivity ( IBackgroundTask p_tskTask ) : bool |
Determines if the given IBackgroundTask can be removed.
|
|
CanResumeActivity ( IBackgroundTask p_tskTask ) : bool |
Determines if the given IBackgroundTask can be resumed.
|
|
CancelTask ( IBackgroundTask p_tskTask ) : void |
Cancels the given task.
|
|
PauseTask ( IBackgroundTask p_tskTask ) : void |
Puases the given task.
|
|
RemoveTask ( IBackgroundTask p_tskTask ) : void |
Removes the given task.
|
|
ResumeTask ( IBackgroundTask p_tskTask ) : void |
Resumes the given task.
|
public ActivityMonitorVM ( ActivityMonitor p_amnActivityMonitor, ISettings p_setSettings ) : Nexus.Client.BackgroundTasks | ||
p_amnActivityMonitor | ActivityMonitor | The activity manager to use to manage the monitored activities. |
p_setSettings | ISettings | The application and user settings. |
Результат | Nexus.Client.BackgroundTasks |
public CanCancelTask ( IBackgroundTask p_tskTask ) : bool | ||
p_tskTask | IBackgroundTask | The task for which it is to be determined /// if it can be cancelled. |
Результат | bool |
public CanPauseActivity ( IBackgroundTask p_tskTask ) : bool | ||
p_tskTask | IBackgroundTask | The task for which it is to be determined /// if it can be paused. |
Результат | bool |
public CanRemoveActivity ( IBackgroundTask p_tskTask ) : bool | ||
p_tskTask | IBackgroundTask | The task for which it is to be determined /// if it can be removed. |
Результат | bool |
public CanResumeActivity ( IBackgroundTask p_tskTask ) : bool | ||
p_tskTask | IBackgroundTask | The task for which it is to be determined /// if it can be resumed. |
Результат | bool |
public CancelTask ( IBackgroundTask p_tskTask ) : void | ||
p_tskTask | IBackgroundTask | The task to cancel. |
Результат | void |
public PauseTask ( IBackgroundTask p_tskTask ) : void | ||
p_tskTask | IBackgroundTask | The task to pause. |
Результат | void |
public RemoveTask ( IBackgroundTask p_tskTask ) : void | ||
p_tskTask | IBackgroundTask | The task to remove. |
Результат | void |
public ResumeTask ( IBackgroundTask p_tskTask ) : void | ||
p_tskTask | IBackgroundTask | The task to resume. |
Результат | void |