public CustomerReviewService(ICustomerReviews customerReviewsApi, IApiChangesWatcher apiChangesWatcher, IStorefrontMemoryCache memoryCache, IWorkContextAccessor workContextAccessor) { _customerReviewsApi = customerReviewsApi; _apiChangesWatcher = apiChangesWatcher; _memoryCache = memoryCache; _workContextAccessor = workContextAccessor; }
public SubscriptionService(ISubscriptionModule subscriptionApi, IWorkContextAccessor workContextAccessor, IStorefrontMemoryCache memoryCache, IOptions <StorefrontOptions> options) { _subscriptionApi = subscriptionApi; _workContextAccessor = workContextAccessor; _memoryCache = memoryCache; _options = options.Value; }
public MenuLinkListServiceImpl(IMenu cmsApi, ICatalogService catalogService, IStorefrontMemoryCache memoryCache, IApiChangesWatcher apiChangesWatcher) { _cmsApi = cmsApi; _catalogService = catalogService; _memoryCache = memoryCache; _apiChangesWatcher = apiChangesWatcher; }
public CatalogService(IWorkContextAccessor workContextAccessor , ICatalogModuleCategories categoriesApi , ICatalogModuleProducts productsApi , ICatalogModuleSearch searchApi , IPricingService pricingService , IMemberService customerService , ISubscriptionService subscriptionService , IInventoryService inventoryService , IStorefrontMemoryCache memoryCache , IApiChangesWatcher changesWatcher , IStorefrontUrlBuilder storefrontUrlBuilder) { _workContextAccessor = workContextAccessor; _categoriesApi = categoriesApi; _productsApi = productsApi; _searchApi = searchApi; _categoriesApi = categoriesApi; _pricingService = pricingService; _inventoryService = inventoryService; _customerService = customerService; _subscriptionService = subscriptionService; _memoryCache = memoryCache; _apiChangesWatcher = changesWatcher; _storefrontUrlBuilder = storefrontUrlBuilder; }
public UserStoreStub(ISecurity platformSecurityApi, IMemberService memberService, IStorefrontMemoryCache memoryCache, IOptions <StorefrontOptions> options) { _platformSecurityApi = platformSecurityApi; _memoryCache = memoryCache; _memberService = memberService; _options = options.Value; }
public CreateStorefrontRolesMiddleware(RequestDelegate next, ISecurity platformSecurityApi, IStorefrontMemoryCache memoryCache, ILogger <CreateStorefrontRolesMiddleware> logger) { _next = next; _memoryCache = memoryCache; _platformSecurityApi = platformSecurityApi; _looger = logger; }
public SlugRouteService(IStorefrontMemoryCache memoryCache, ICommerce coreApi, ICatalogService catalogService, ICatalogModuleProducts catalogProductsApi, IApiChangesWatcher apiChangesWatcher) { _memoryCache = memoryCache; _coreApi = coreApi; _catalogService = catalogService; _apiChangesWatcher = apiChangesWatcher; }
public MarketingService(IMarketingModuleDynamicContent dynamicContentApi, IStorefrontMemoryCache memoryCache, IApiChangesWatcher changesWatcher, IWorkContextAccessor workContextAccessor) { _dynamicContentApi = dynamicContentApi; _memoryCache = memoryCache; _apiChangesWatcher = changesWatcher; _workContextAccessor = workContextAccessor; }
public DemoMemberService(ICustomerModule customerApi, IDemoSearch demoSearchApi, IStorefrontMemoryCache memoryCache, IApiChangesWatcher apiChangesWatcher) : base(customerApi, memoryCache, apiChangesWatcher) { _customerApi = customerApi; _demoSearchApi = demoSearchApi; _memoryCache = memoryCache; _apiChangesWatcher = apiChangesWatcher; }
public CognitiveRecommendationsProvider(IWorkContextAccessor workContextAccessor, ICatalogService catalogService, IRecommendations recommendationsApi, IStorefrontMemoryCache memoryCache) { _workContextAccessor = workContextAccessor; _catalogService = catalogService; _recommendationsApi = recommendationsApi; _memoryCache = memoryCache; }
public StaticContentService(IStorefrontMemoryCache memoryCache, IStaticContentItemFactory contentItemFactory, IContentBlobProvider contentBlobProvider, IStaticContentLoaderFactory metadataFactory) { _contentItemFactory = contentItemFactory; _contentBlobProvider = contentBlobProvider; _memoryCache = memoryCache; _metadataFactory = metadataFactory; }
public CartService(ICartModule cartModule, IWorkContextAccessor workContextAccessor, IStorefrontMemoryCache memoryCache, UserManager <User> userManager) { _cartApi = cartModule; _memoryCache = memoryCache; _workContextAccessor = workContextAccessor; _userManager = userManager; }
public StoreService(IStoreModule storeApi, IStorefrontMemoryCache memoryCache, IApiChangesWatcher apiChangesWatcher, IPaymentModule paymentModule, ITaxModule taxModule) { _storeApi = storeApi; _memoryCache = memoryCache; _apiChangesWatcher = apiChangesWatcher; _paymentModule = paymentModule; _taxModule = taxModule; }
public CustomerReviewService( ICustomerReviews customerReviewsApi, IStorefrontMemoryCache memoryCache, IApiChangesWatcher apiChangesWatcher) { _customerReviewsApi = customerReviewsApi; _memoryCache = memoryCache; _apiChangesWatcher = apiChangesWatcher; }
public StaticContentService(IStorefrontMemoryCache memoryCache, IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, IStaticContentItemFactory contentItemFactory, IContentBlobProvider contentBlobProvider) { _urlBuilder = urlBuilder; _contentItemFactory = contentItemFactory; _contentBlobProvider = contentBlobProvider; _memoryCache = memoryCache; _markdownPipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build(); }
public ShopifyLiquidThemeEngine(IStorefrontMemoryCache memoryCache, IWorkContextAccessor workContextAccessor, IHttpContextAccessor httpContextAccessor, IStorefrontUrlBuilder storeFrontUrlBuilder, IContentBlobProvider contentBlobProvder, IOptions <LiquidThemeEngineOptions> options) { _workContextAccessor = workContextAccessor; _httpContextAccessor = httpContextAccessor; _storeFrontUrlBuilder = storeFrontUrlBuilder; _options = options.Value; _memoryCache = memoryCache; _themeBlobProvider = contentBlobProvder; }
public DemoCartBuilder( IWorkContextAccessor workContextAccessor, ICartService cartService, ICatalogService catalogSearchService, IStorefrontMemoryCache memoryCache, IPromotionEvaluator promotionEvaluator, ITaxEvaluator taxEvaluator, ISubscriptionService subscriptionService ) : base(workContextAccessor, cartService, catalogSearchService, memoryCache, promotionEvaluator, taxEvaluator, subscriptionService) { }
public PricingService(IPricingModule pricingApi, ITaxEvaluator taxEvaluator, IPromotionEvaluator promotionEvaluator, IInventoryService inventoryService, IStorefrontMemoryCache memoryCache, IApiChangesWatcher apiChangesWatcher) { _pricingApi = pricingApi; _taxEvaluator = taxEvaluator; _promotionEvaluator = promotionEvaluator; _inventoryService = inventoryService; _memoryCache = memoryCache; _apiChangesWatcher = apiChangesWatcher; }
public FileSystemContentBlobProvider(IOptions <FileSystemBlobContentOptions> options, IStorefrontMemoryCache memoryCache) { _options = options.Value; _memoryCache = memoryCache; //Create fileSystemWatcher instance only when rootFolder exist to prevent whole application crash on initialization phase. if (Directory.Exists(_options.Path)) { //It is very important to have rootPath with leading slash '\' without this any changes won't reflected var rootPath = _options.Path.TrimEnd('\\') + '\\'; _fileSystemWatcher = new PhysicalFilesWatcher(rootPath, new FileSystemWatcher(rootPath), false); } }
public DynamicAssociationsProvider( ICatalogService catalogService, IAssociations associationsApi, IStorefrontMemoryCache memoryCache, IApiChangesWatcher apiChangesWatcher ) { _catalogService = catalogService; _associationsApi = associationsApi; _memoryCache = memoryCache; _apiChangesWatcher = apiChangesWatcher; }
public AzureBlobContentProvider(IOptions <AzureBlobContentOptions> options, IStorefrontMemoryCache memoryCache, IBlobChangesWatcher watcher) { _options = options.Value; _memoryCache = memoryCache; if (!CloudStorageAccount.TryParse(_options.ConnectionString, out _cloudStorageAccount)) { throw new StorefrontException("Failed to get valid connection string"); } _cloudBlobClient = _cloudStorageAccount.CreateCloudBlobClient(); _container = _cloudBlobClient.GetContainerReference(_options.Container); _watcher = watcher; }
public CartBuilder(IWorkContextAccessor workContextAccessor, ICartService cartService, ICatalogService catalogSearchService, IStorefrontMemoryCache memoryCache, IPromotionEvaluator promotionEvaluator, ITaxEvaluator taxEvaluator, ISubscriptionService subscriptionService) { _cartService = cartService; _catalogService = catalogSearchService; _memoryCache = memoryCache; _workContextAccessor = workContextAccessor; _promotionEvaluator = promotionEvaluator; _taxEvaluator = taxEvaluator; _subscriptionService = subscriptionService; }
public ShopifyLiquidThemeEngine(IStorefrontMemoryCache memoryCache, IWorkContextAccessor workContextAccessor, IHttpContextAccessor httpContextAccessor, IStorefrontUrlBuilder storeFrontUrlBuilder, IContentBlobProvider contentBlobProvider, ISassFileManager sassFileManager, IOptions <LiquidThemeEngineOptions> options, IFeaturesAgent featuresAgent) { _workContextAccessor = workContextAccessor; _httpContextAccessor = httpContextAccessor; UrlBuilder = storeFrontUrlBuilder; _options = options.Value; _memoryCache = memoryCache; _themeBlobProvider = contentBlobProvider; _sassFileManager = sassFileManager; _featuresAgent = featuresAgent; SassCompiler.FileManager = sassFileManager; }
public DemoCartService( ICartModule cartModule, IWorkContextAccessor workContextAccessor, IStorefrontMemoryCache memoryCache, UserManager<User> userManager, ICatalogService catalogService) : base(cartModule, workContextAccessor, memoryCache, userManager) { _userManager = userManager; _workContextAccessor = workContextAccessor; _cartApi = cartModule; _memoryCache = memoryCache; _catalogService = catalogService; }
public DemoCatalogService(IWorkContextAccessor workContextAccessor, ICatalogModuleCategories categoriesApi, ICatalogModuleProducts productsApi, ICatalogModuleAssociations associationsApi, ICatalogModuleIndexedSearch searchApi, IPricingService pricingService, IMemberService customerService, ISubscriptionService subscriptionService, IInventoryService inventoryService, IStorefrontMemoryCache memoryCache, IApiChangesWatcher changesWatcher, IStorefrontUrlBuilder storefrontUrlBuilder) : base(workContextAccessor, categoriesApi, productsApi, associationsApi, searchApi, pricingService, customerService, subscriptionService, inventoryService, memoryCache, changesWatcher, storefrontUrlBuilder) { }
public FileSystemCountriesService(IStorefrontMemoryCache cacheManager, IOptions <FileSystemCountriesOptions> options) { _options = options.Value; _memoryCache = cacheManager; }
public PromotionEvaluator(IMarketingModulePromotion promiotionApi, IStorefrontMemoryCache memoryCache) { _promiotionApi = promiotionApi; _memoryCache = memoryCache; }
public InventoryService(IInventoryModule inventoryApi, IStorefrontMemoryCache memoryCache, IApiChangesWatcher apiChangesWatcher) { _inventoryApi = inventoryApi; _memoryCache = memoryCache; _apiChangesWatcher = apiChangesWatcher; }
public MemberService(ICustomerModule customerApi, IStorefrontMemoryCache memoryCache, IApiChangesWatcher changesWatcher) { _customerApi = customerApi; _memoryCache = memoryCache; _apiChangesWatcher = changesWatcher; }
public DemoMemberService(ICustomerModule customerApi, IStorefrontMemoryCache memoryCache, IApiChangesWatcher changesWatcher) : base(customerApi, memoryCache, changesWatcher) { _customerApi = customerApi; }