C# Class GW2PAO.Modules.Tasks.ViewModels.PlayerTaskViewModel

Inheritance: BindableBase
ファイルを表示 Open project: SamHurne/gw2pao Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

OnNewCharacterDetected() public method

Method to notify the task that a new character has been detected
public OnNewCharacterDetected ( string charName ) : void
charName string the new character's name
return void

PlayerTaskViewModel() public method

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
return System