public DataRepository(HttpContextBase httpContext, IRestRequestCreator restRequestCreator, IRestMethods restMethods, IProductService ProductService, ICacheManagerService CacheManagerService, ITokenService tokenService) { _httpContext = httpContext; _restRequestCreator = restRequestCreator; _restMethods = restMethods; _productService = ProductService; _cacheManagerService = CacheManagerService; _tokenService = tokenService; }
public DataRepository_GetArtistList() { _restMethods = A.Fake <IRestMethods>(); _tokenService = A.Fake <ITokenService>(); _restRequestCreator = A.Fake <IRestRequestCreator>(); _dbContextFactory = A.Fake <IDbContextFactory>(); _productService = A.Fake <IProductService>(); _cacheManagerService = A.Fake <ICacheManagerService>(); var mockHttpContext = A.Fake <HttpContextBase>(); _sut = new DataRepository(mockHttpContext, _restRequestCreator, _restMethods, _productService, _cacheManagerService, _tokenService); }
public AgentService(IAgentRepository agentRepository, IAgentRateRepository rateRepository, IAgentSpecialRateRepository specialRateRepository, ICacheHelper cacheHelper, IAgentConfigRepository agentConfigRepository, IHebaoDianweiRepository hebaoDianweiRepository, ISmsContentRepository smsContentRepository, ICityRepository iCityRepository, ICacheManagerService cacheManagerService) : base(agentRepository, cacheHelper) { _agentRepository = agentRepository; _rateRepository = rateRepository; _specialRateRepository = specialRateRepository; _agentConfig = agentConfigRepository; _hebaoDianwei = hebaoDianweiRepository; _smsContentRepository = smsContentRepository; _iCityRepository = iCityRepository; _cacheManagerService = cacheManagerService; }
public TopRatedMoviesService(ICacheManagerService cacheManagerService, ITopRatedMoviesRepo topRatedMoviesRepo) { _cacheManagerService = cacheManagerService; _topRatedMoviesRepo = topRatedMoviesRepo; }
public PrivacyModel(ILogger <PrivacyModel> logger, ICacheManagerService cacheManagerService) { _logger = logger; _cacheManagerService = cacheManagerService; }
public HomeController(IUserRepository userRepository, ICacheManagerService cacheManagerService) { _userRepository = userRepository; _cacheManagerService = cacheManagerService; }
public CacheManagerController(ICacheManagerService cacheManagerService) { _cacheManagerService = cacheManagerService; }
public RedisUrlRepository(ICacheManagerFactory cacheManagerFactory) { _cacheManagerService = cacheManagerFactory.GetCacheManagerService(ConstVariables.Caching.CommonCacheConfigurationKey); }
public TokenService(ICacheManagerService cacheManagerService, IRestRequestCreator restRequestCreator) { _cacheManagerService = cacheManagerService; _restRequestCreator = restRequestCreator; }
public override void Initialize() { if (kService == null) { kService = ServiceManager.Get<IKeyboardService>() as GlobalKeyboardService; } if (textureCacheService == null) { textureCacheService = ServiceManager.Get<ICacheManagerService<Texture2D>>(); } base.Initialize(); }
public IndexModel(ILogger <IndexModel> logger, ICacheManagerService cacheManagerService) { _logger = logger; _cacheManagerService = cacheManagerService; }