/// <summary> /// Default constructor /// </summary> public CommerceService() { this.priceService = GW2.V2.Commerce.Prices; this.ItemsDatabaseBuilder = new ItemsDatabaseBuilder(); this.ItemsDB = new ConcurrentDictionary<int, ItemDBEntry>(); this.ReloadDatabase(); }
/// <summary> /// Default constructor /// </summary> public CommerceService() { this.priceService = GW2.V2.Commerce.Prices; this.ItemsDatabaseBuilder = new ItemsDatabaseBuilder(); this.ItemsDB = new ConcurrentDictionary <int, ItemDBEntry>(); this.ReloadDatabase(); }
/// <inheritdoc /> Task <ICollection <int> > IDiscoverable <int> .DiscoverAsync() { IAggregateListingRepository self = this; return(self.DiscoverAsync(CancellationToken.None)); }
/// <inheritdoc /> Task <ICollectionPage <AggregateListing> > IPaginator <AggregateListing> .FindPageAsync(int pageIndex, int pageSize) { IAggregateListingRepository self = this; return(self.FindPageAsync(pageIndex, pageSize, CancellationToken.None)); }
/// <inheritdoc /> Task <AggregateListing> IRepository <int, AggregateListing> .FindAsync(int identifier) { IAggregateListingRepository self = this; return(self.FindAsync(identifier, CancellationToken.None)); }
/// <inheritdoc /> Task <IDictionaryRange <int, AggregateListing> > IRepository <int, AggregateListing> .FindAllAsync(ICollection <int> identifiers) { IAggregateListingRepository self = this; return(self.FindAllAsync(identifiers, CancellationToken.None)); }
/// <inheritdoc /> Task <IDictionaryRange <int, AggregateListing> > IRepository <int, AggregateListing> .FindAllAsync() { IAggregateListingRepository self = this; return(self.FindAllAsync(CancellationToken.None)); }