コード例 #1
0
 public MovieCacheService(IMovieCacheRepository cacheRepository, IMovieCacheEntityFactory entityFactory)
 {
     _cacheRepository    = cacheRepository;
     _entityFactory      = entityFactory;
     _expirationInterval = TimeSpan.FromSeconds(CacheConfig.GetConfigurableCacheExpirationInterval());
 }