Ejemplo n.º 1
0
        private static readonly TimeSpan _defaultCacheDuration = TimeSpan.FromSeconds(30); // @issue@I02

        public CachedCatalogService(IMemoryCache cache,                                    // @issue@I02
                                    CatalogService catalogService)
        {
            _cache          = cache;          // @issue@I02
            _catalogService = catalogService; // @issue@I02
        }
Ejemplo n.º 2
0
 public CachedCatalogService(IMemoryCache cache,
                             CatalogService catalogService)
 {
     _cache          = cache;
     _catalogService = catalogService;
 }