예제 #1
0
 protected override void OnStartup(StartupEventArgs e)
 {
     //EbayService.InitializeEbay();
     AllegroService.InitializeAllegro();
     //Mapper.Initialize(cfg => { });
     base.OnStartup(e);
     TimerEvent.InitializeTimer();
 }
예제 #2
0
        public void UpdateAllegroData()
        {
            _allegroItem        = AllegroService.GetItemById(CoinDB.CoinId);
            _allegroOnSaleCount = AllegroService.GetItemCountById(CoinDB.CoinId);

            OnPropertyChanged(nameof(HasSuperfluousItemOnAllegroSale));
            OnPropertyChanged(nameof(IsOnAllegroSale));
            OnPropertyChanged(nameof(AllegroItemLink));
            OnPropertyChanged(nameof(AllegroItemEndTime));
            OnPropertyChanged(nameof(AllegroItemTitle));
            OnPropertyChanged(nameof(AllegroItemViewsCount));
            OnPropertyChanged(nameof(AllegroItemWatchersCount));
            OnPropertyChanged(nameof(AllegroItemBiddersCount));
            OnPropertyChanged(nameof(AllegroItemHighBidderLogin));
        }