public GuildCache(IGuildService guildService, IMemoryCache memoryCache, IDatabaseCache dbCache, IKeyedResourceManager resourceManager) { this.cache = new DbMemCachedResource <GuildSlim>(TimeSpan.FromDays(1.0), dbCache, memoryCache, resourceManager); this.guildService = guildService; }
public GuildMemberCache(IGuildService guildService, IMemoryCache memoryCache, IDatabaseCache dbCache, IKeyedResourceManager resourceManager) { this.cache = new DbMemCachedResource <IEnumerable <BlizzardPlayer> >(TimeSpan.FromDays(1.0), dbCache, memoryCache, resourceManager); this.guildService = guildService; }
public RealmsCache(IBlizzardService blizzardService, IMemoryCache memoryCache, IDatabaseCache dbCache, IKeyedResourceManager resourceManager) { this.cache = new DbMemCachedResource <IEnumerable <Realm> >(TimeSpan.FromDays(1.0), dbCache, memoryCache, resourceManager); this.blizzardService = blizzardService; }