C# 클래스 GW2PAO.Modules.Commerce.CommerceController

상속: ICommerceController
파일 보기 프로젝트 열기: SamHurne/gw2pao

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