Method | Description | |
---|---|---|
ActivityMonitor ( ) : System.ComponentModel |
The default constructor.
|
|
AddActivity ( IBackgroundTask p_tskTask ) : void |
Adds a task to the monitor.
|
|
CanPause ( IBackgroundTask p_tskTask ) : bool |
Determines if the given IBackgroundTask can be paused.
|
|
CanRemove ( IBackgroundTask p_tskTask ) : bool |
Determines if the given IBackgroundTask can be removed from the monitor.
|
|
CanResume ( IBackgroundTask p_tskTask ) : bool |
Determines if the given IBackgroundTask can be resumed.
|
|
PauseActivity ( IBackgroundTask p_tskTask ) : void |
Pauses a task.
|
|
RemoveActivity ( IBackgroundTask p_tskTask ) : void |
Removes a task from the monitor. Tasks can only be removed if they are not running. |
|
ResumeActivity ( IBackgroundTask p_tskTask ) : void |
Resumes a task.
|
Method | Description | |
---|---|---|
Task_PropertyChanged ( object sender, |
Handles the INotifyPropertyChanged.PropertyChanged event of tasks. This adds or removes tasks from the active task list as appropriate. |
public ActivityMonitor ( ) : System.ComponentModel | ||
return | System.ComponentModel |
public AddActivity ( IBackgroundTask p_tskTask ) : void | ||
p_tskTask | IBackgroundTask | The task to monitor. |
return | void |
public CanPause ( IBackgroundTask p_tskTask ) : bool | ||
p_tskTask | IBackgroundTask | The task for which it is to be determined /// if it can be paused. |
return | bool |
public CanRemove ( IBackgroundTask p_tskTask ) : bool | ||
p_tskTask | IBackgroundTask | The task for which it is to be determined /// if it can be removed from the monitor. |
return | bool |
public CanResume ( IBackgroundTask p_tskTask ) : bool | ||
p_tskTask | IBackgroundTask | The task for which it is to be determined /// if it can be resumed. |
return | bool |
public PauseActivity ( IBackgroundTask p_tskTask ) : void | ||
p_tskTask | IBackgroundTask | The task to pause. |
return | void |
public RemoveActivity ( IBackgroundTask p_tskTask ) : void | ||
p_tskTask | IBackgroundTask | The task to remove. |
return | void |
public ResumeActivity ( IBackgroundTask p_tskTask ) : void | ||
p_tskTask | IBackgroundTask | The task to resume. |
return | void |