C# 클래스 GW2PAO.Modules.Tasks.TasksController

상속: BindableBase, IPlayerTasksController
파일 보기 프로젝트 열기: SamHurne/gw2pao

공개 메소드들

메소드 설명
AddOrUpdateTask ( PlayerTask task ) : void

Adds a new task to the collection of player tasks

AddOrUpdateTask ( PlayerTaskViewModel taskViewModel ) : void

Adds a new task to the collection of player tasks

DeleteTask ( PlayerTask task ) : void

Deletes a task from the collection of player tasks

ExportTasks ( string path ) : void

Exports all tasks to the given path

ImportTasks ( string path ) : void

Imports all tasks from the given path

LoadTasksFile ( string path ) : void

Loads all tasks from the given path

Shutdown ( ) : void

Forces a shutdown of the controller, including all running timers/threads

Start ( ) : void

Starts the automatic refresh of the TasksController

Stop ( ) : void

Stops the automatic refresh of the TasksController

비공개 메소드들

메소드 설명
EnsureTasksHaveContinentLocation ( ) : void

Loops through the collection of tasks and ensure that they all have a corresponding continent location

OnDailyReset ( ) : void

Performs actions on the daily reset

Refresh ( object state = null ) : void

The main refresh method

RefreshTaskDistancesAngles ( ) : void

Loops through the collection of tasks and refreshs their distance/angles

TasksController ( IZoneService zoneService, IPlayerService playerService, TasksUserData userData, System.ComponentModel.Composition.Hosting.CompositionContainer container ) : System

메소드 상세

AddOrUpdateTask() 공개 메소드

Adds a new task to the collection of player tasks
public AddOrUpdateTask ( PlayerTask task ) : void
task GW2PAO.Modules.Tasks.Models.PlayerTask The task to add
리턴 void

AddOrUpdateTask() 공개 메소드

Adds a new task to the collection of player tasks
public AddOrUpdateTask ( PlayerTaskViewModel taskViewModel ) : void
taskViewModel GW2PAO.Modules.Tasks.ViewModels.PlayerTaskViewModel
리턴 void

DeleteTask() 공개 메소드

Deletes a task from the collection of player tasks
public DeleteTask ( PlayerTask task ) : void
task GW2PAO.Modules.Tasks.Models.PlayerTask The task to delete
리턴 void

ExportTasks() 공개 메소드

Exports all tasks to the given path
public ExportTasks ( string path ) : void
path string The path to export to
리턴 void

ImportTasks() 공개 메소드

Imports all tasks from the given path
public ImportTasks ( string path ) : void
path string The path to import from
리턴 void

LoadTasksFile() 공개 메소드

Loads all tasks from the given path
public LoadTasksFile ( string path ) : void
path string The path to import from
리턴 void

Shutdown() 공개 메소드

Forces a shutdown of the controller, including all running timers/threads
public Shutdown ( ) : void
리턴 void

Start() 공개 메소드

Starts the automatic refresh of the TasksController
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops the automatic refresh of the TasksController
public Stop ( ) : void
리턴 void