Esempio n. 1
0
 public StoreService(Func <IStoreRepository> repositoryFactory, ISeoService seoService, ISettingsManager settingManager,
                     IDynamicPropertyService dynamicPropertyService, IShippingMethodsRegistrar shippingService, IPaymentMethodsRegistrar paymentService,
                     ITaxProviderRegistrar taxService, IEventPublisher eventPublisher, IPlatformMemoryCache platformMemoryCache)
 {
     RepositoryFactory       = repositoryFactory;
     SeoService              = seoService;
     SettingManager          = settingManager;
     DynamicPropertyService  = dynamicPropertyService;
     ShippingMethodRegistrar = shippingService;
     PaymentMethodRegistrar  = paymentService;
     TaxProviderRegistrar    = taxService;
     EventPublisher          = eventPublisher;
     PlatformMemoryCache     = platformMemoryCache;
 }
Esempio n. 2
0
 public PolymorphicStoreJsonConverter(IPaymentMethodsRegistrar paymentMethodsService, IShippingMethodsRegistrar shippingMethodsService, ITaxProviderRegistrar taxService)
 {
     _paymentMethodsService  = paymentMethodsService;
     _shippingMethodsService = shippingMethodsService;
     _taxService             = taxService;
 }