C# Класс GW2PAO.Modules.Tasks.ViewModels.PlayerTaskViewModel

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

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

Метод Описание
OnNewCharacterDetected ( string charName ) : void

Method to notify the task that a new character has been detected

PlayerTaskViewModel ( PlayerTask task, IZoneService zoneService, IPlayerTasksController controller, System.ComponentModel.Composition.Hosting.CompositionContainer container ) : System

Default constructor

Приватные методы

Метод Описание
CopyWaypoint ( ) : void

Copies the waypoint for this task

Delete ( ) : void

Deletes/removes the task entirely

Edit ( ) : void

Edits the task

RefreshMapName ( ) : void

Updates the map name property

RefreshVisibility ( ) : void

Refreshes the visibility of the event

Описание методов

OnNewCharacterDetected() публичный Метод

Method to notify the task that a new character has been detected
public OnNewCharacterDetected ( string charName ) : void
charName string the new character's name
Результат void

PlayerTaskViewModel() публичный Метод

Default constructor
public PlayerTaskViewModel ( PlayerTask task, IZoneService zoneService, IPlayerTasksController controller, System.ComponentModel.Composition.Hosting.CompositionContainer container ) : System
task GW2PAO.Modules.Tasks.Models.PlayerTask The task that this view model wraps
zoneService IZoneService Service that provides zone information, such as map name
controller IPlayerTasksController
container System.ComponentModel.Composition.Hosting.CompositionContainer
Результат System