Esempio n. 1
0
 public CacheController(ICacheManagerHelper cacheService)
 {
     CacheService = cacheService;
 }
Esempio n. 2
0
        // public ICacheManagerHelper CacheManagerHelper { get; set; }

        public OrderService(ICacheManagerHelper cacheManagerHelper)
        {
            this.SimpleRepository       = new SimpleRepository(ConnectionStrings.KEY_ORDER, SimpleRepositoryOptions.RunMigrations);
            this.SimpleOracleRepository = new SubSonicOracle.SimpleRepository(ConnectionStrings.KEY_ORACLE_GENERAL, SubSonicOracle.SimpleRepositoryOptions.RunMigrations);
            this.CacheManagerHelper     = cacheManagerHelper;
        }
Esempio n. 3
0
 public CacheDecoratorBase(ICacheManagerHelper cacheManagerHelper)
 {
     RedisCacheManagerHelper = cacheManagerHelper;
 }