C# Класс GW2PAO.Modules.Commerce.CommerceController

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

Private Properties

Свойство Тип Описание
CanShowNotification bool
CommerceController System
DisplayNotification void
InitializeItemPrices void
Refresh void

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

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

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

Start ( ) : void

Starts the automatic refresh

Stop ( ) : void

Stops the automatic refresh

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

Метод Описание
CanShowNotification ( ItemPriceViewModel priceWatch, PriceNotificationType notificationType ) : bool

Determines if we can show a notification for the given price notification, based on user settings

CommerceController ( ICommerceService commerceService, CommerceUserData userData ) : System
DisplayNotification ( GW2PAO.Modules.Commerce.ViewModels.PriceNotification.PriceNotificationViewModel priceNotification ) : void

Adds an objective to the notifications collection, and then removes the objective 10 seconds later

InitializeItemPrices ( ) : void

Initializes the collection of price watches

Refresh ( object state = null ) : void

The main Refresh functionality Refreshes the buy/sell listings for any items currently watched

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

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

Forces a shutdown of the controller, including all running timers/threads
public Shutdown ( ) : void
Результат void

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

Starts the automatic refresh
public Start ( ) : void
Результат void

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

Stops the automatic refresh
public Stop ( ) : void
Результат void