C# 클래스 Nexus.Client.ActivityMonitoring.UI.ActivityMonitorVM

This class encapsulates the data and the operations presented by UI elements that display activity monitoring.
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

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

메소드 상세

ActivityMonitorVM() 공개 메소드

A simple constructor that initializes the object with its dependencies.
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

CanCancelTask() 공개 메소드

Determines if the given IBackgroundTask can be cancelled.
public CanCancelTask ( IBackgroundTask p_tskTask ) : bool
p_tskTask IBackgroundTask The task for which it is to be determined /// if it can be cancelled.
리턴 bool

CanPauseActivity() 공개 메소드

Determines if the given IBackgroundTask can be paused.
public CanPauseActivity ( IBackgroundTask p_tskTask ) : bool
p_tskTask IBackgroundTask The task for which it is to be determined /// if it can be paused.
리턴 bool

CanRemoveActivity() 공개 메소드

Determines if the given IBackgroundTask can be removed.
public CanRemoveActivity ( IBackgroundTask p_tskTask ) : bool
p_tskTask IBackgroundTask The task for which it is to be determined /// if it can be removed.
리턴 bool

CanResumeActivity() 공개 메소드

Determines if the given IBackgroundTask can be resumed.
public CanResumeActivity ( IBackgroundTask p_tskTask ) : bool
p_tskTask IBackgroundTask The task for which it is to be determined /// if it can be resumed.
리턴 bool

CancelTask() 공개 메소드

Cancels the given task.
public CancelTask ( IBackgroundTask p_tskTask ) : void
p_tskTask IBackgroundTask The task to cancel.
리턴 void

PauseTask() 공개 메소드

Puases the given task.
public PauseTask ( IBackgroundTask p_tskTask ) : void
p_tskTask IBackgroundTask The task to pause.
리턴 void

RemoveTask() 공개 메소드

Removes the given task.
public RemoveTask ( IBackgroundTask p_tskTask ) : void
p_tskTask IBackgroundTask The task to remove.
리턴 void

ResumeTask() 공개 메소드

Resumes the given task.
public ResumeTask ( IBackgroundTask p_tskTask ) : void
p_tskTask IBackgroundTask The task to resume.
리턴 void