C# Класс GW2PAO.Modules.Tasks.TasksController

Наследование: BindableBase, IPlayerTasksController
Показать файл Открыть проект

Открытые методы

Метод Описание
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