Ejemplo n.º 1
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public CommerceService()
 {
     this.priceService = GW2.V2.Commerce.Prices;
     this.ItemsDatabaseBuilder = new ItemsDatabaseBuilder();
     this.ItemsDB = new ConcurrentDictionary<int, ItemDBEntry>();
     this.ReloadDatabase();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public CommerceService()
 {
     this.priceService         = GW2.V2.Commerce.Prices;
     this.ItemsDatabaseBuilder = new ItemsDatabaseBuilder();
     this.ItemsDB = new ConcurrentDictionary <int, ItemDBEntry>();
     this.ReloadDatabase();
 }
Ejemplo n.º 3
0
        /// <inheritdoc />
        Task <ICollection <int> > IDiscoverable <int> .DiscoverAsync()
        {
            IAggregateListingRepository self = this;

            return(self.DiscoverAsync(CancellationToken.None));
        }
Ejemplo n.º 4
0
        /// <inheritdoc />
        Task <ICollectionPage <AggregateListing> > IPaginator <AggregateListing> .FindPageAsync(int pageIndex, int pageSize)
        {
            IAggregateListingRepository self = this;

            return(self.FindPageAsync(pageIndex, pageSize, CancellationToken.None));
        }
Ejemplo n.º 5
0
        /// <inheritdoc />
        Task <AggregateListing> IRepository <int, AggregateListing> .FindAsync(int identifier)
        {
            IAggregateListingRepository self = this;

            return(self.FindAsync(identifier, CancellationToken.None));
        }
Ejemplo n.º 6
0
        /// <inheritdoc />
        Task <IDictionaryRange <int, AggregateListing> > IRepository <int, AggregateListing> .FindAllAsync(ICollection <int> identifiers)
        {
            IAggregateListingRepository self = this;

            return(self.FindAllAsync(identifiers, CancellationToken.None));
        }
Ejemplo n.º 7
0
        /// <inheritdoc />
        Task <IDictionaryRange <int, AggregateListing> > IRepository <int, AggregateListing> .FindAllAsync()
        {
            IAggregateListingRepository self = this;

            return(self.FindAllAsync(CancellationToken.None));
        }