public PreviewModeService(HttpContextBase httpContext, ICacheService cacheService, IDataQueryService dataQueryService, IProductRepository productRepository, ISearchRepository searchRepository, IComposerContext composerContext) { HttpContext = httpContext; DataQueryService = dataQueryService; ProductRepository = productRepository; SearchRepository = searchRepository; ComposerContext = composerContext; Cache = cacheService.GetStoreWithDependencies <Guid, string>("Preview Mode", new CacheDependentEntry <IPreviewModeMeta>()); }
public FacetConfigurationContext(HttpContextBase httpContext, IDataQueryService dataQueryService, ICacheService cacheService) { HttpContext = httpContext; DataQueryService = dataQueryService; Cache = cacheService.GetStoreWithDependencies <Guid, List <FacetSetting> >("Facet Configuration", new CacheDependentEntry <IFacet>(), new CacheDependentEntry <IFacetConfiguration>(), new CacheDependentEntry <IFacetConfigurationMeta>(), new CacheDependentEntry <IPromotedFacetValueSetting>() ); }
public DataQueryController( [NotNull] IRegistrationService registrationService, [NotNull] IDataQueryService dataQueryService, [NotNull] ILogger <DataQueryController> logger) { Guard.NotNull(registrationService, nameof(registrationService)); Guard.NotNull(dataQueryService, nameof(dataQueryService)); Guard.NotNull(logger, nameof(logger)); _registrationService = registrationService; _dataQueryService = dataQueryService; _logger = logger; }
public AnswersProcessingServiceImpl(IDataQueryService dataQueryService, IConfigurationProvider configurationProvider) { _dataQueryService = dataQueryService; _configurationProvider = configurationProvider; }