C# Class GW2PAO.Modules.Commerce.ViewModels.ItemPriceViewModel

ViewModel for an item's Price information
Inheritance: BindableBase
Mostrar archivo Open project: SamHurne/gw2pao Class Usage Examples

Public Methods

Method Description
ItemPriceViewModel ( PriceWatch priceData, Item itemData, ICommerceController controller, ICommerceService service ) : FeserWard.Controls

Default constructor

SetItem ( int newItemID ) : void

Sets this item as the item with the given ID

Private Methods

Method Description
BuyOrderLimit_PropertyChanged ( object sender, System e ) : void

Handles the PropertyChanged event of the BuyOrderLimit

CopyChatcodeToClipboard ( ) : void

Copies the chatcode of the item to the clipboard

CopyNameToClipboard ( ) : void

Copies the name of the item to the clipboard

Data_PropertyChanged ( object sender, System e ) : void

Handles the PropertyChanged event of the PriceWatch data object

Remove ( ) : void

Removes the item from the collection of price watches

SellListingLimit_PropertyChanged ( object sender, System e ) : void

Handles the PropertyChanged event of the SellListingLimit

Method Details

ItemPriceViewModel() public method

Default constructor
public ItemPriceViewModel ( PriceWatch priceData, Item itemData, ICommerceController controller, ICommerceService service ) : FeserWard.Controls
priceData GW2PAO.Modules.Commerce.Models.PriceWatch
itemData Item
controller ICommerceController Commerce controller
service ICommerceService
return FeserWard.Controls

SetItem() public method

Sets this item as the item with the given ID
public SetItem ( int newItemID ) : void
newItemID int The ID to set this item as
return void