public Discogs3Cache(IDiscogs3Api source) { this.discogs = source; this.releaseCache = new Dictionary<int, Release>(); this.artistCache = new Dictionary<int, Artist>(); this.masterCache = new Dictionary<int, MasterRelease>(); this.labelCache = new Dictionary<int, Label>(); this.artistReleasesCache = new Dictionary<Tuple<int, PaginationRequest>, ArtistReleases>(); this.imageCache = new Dictionary<string, byte[]>(); this.searchCache = new Dictionary<Tuple<SearchQuery, PaginationRequest>, SearchResults>(); }
public Discogs3Cache(IDiscogs3Api source) { this.discogs = source; this.releaseCache = new Dictionary <int, Release>(); this.artistCache = new Dictionary <int, Artist>(); this.masterCache = new Dictionary <int, MasterRelease>(); this.labelCache = new Dictionary <int, Label>(); this.artistReleasesCache = new Dictionary <Tuple <int, PaginationRequest>, ArtistReleases>(); this.imageCache = new Dictionary <string, byte[]>(); this.searchCache = new Dictionary <Tuple <SearchQuery, PaginationRequest>, SearchResults>(); }