Example #1
0
 public ApiController(ITransmitter transmitter, IAppSetting appSetting, IAuthenticateUtil authenticateUtil,
                      ICacheMemory cacheMemory, IAuthenticateUser authenticateService)
 {
     _transmitter         = transmitter;
     _appSetting          = appSetting;
     _authenticateUtil    = authenticateUtil;
     _cacheMemory         = cacheMemory;
     _authenticateService = authenticateService;
 }
Example #2
0
 public BlogController(BlogContext context, ICacheMemory cache)
 {
     _context = context;
     _cache   = cache;
 }
Example #3
0
 public Users(ICacheMemory cacheMemory, IAuthenticateUtil authenticateUtil)
 {
     _cacheMemory      = cacheMemory;
     _authenticateUtil = authenticateUtil;
 }
        /*private MethodInfo _serviceMethod;
         * private string _cacheKey;
         * private CacheOutputAttribute _attribute;*/

        public CacheMethodInterceptor(ICachingKeyGenerator keyGenerator, ICacheMemory cacheMemory)
        {
            _keyGenerator = keyGenerator;
            _cacheMemory  = cacheMemory;
        }
Example #5
0
 public RSAHelper(ICacheMemory _cacheMemory)
 {
     cacheMemory = _cacheMemory;
 }
 public CacheMemoryContract(ICacheMemory cacheMemory)
 {
     _cacheMem = cacheMemory;
 }