Ejemplo n.º 1
0
 public CachedTradeCategories(IDistributedCache cache,
                              ICacheContextOptions options,
                              TradeCategoriesService tradeCategoriesService)
     : base(cache, options, options.Topics.TradeCategories)
 {
     _tradeCategoriesService = tradeCategoriesService;
 }
Ejemplo n.º 2
0
 public CacheContext(IDistributedCache cache, ICacheContextOptions options, string topic)
 {
     _cache   = cache;
     _options = options;
     _topic   = topic;
 }