Ejemplo n.º 1
0
 public ConfigurationFactory(
     IAssemblyLoader assemblyLoader,
     ILocalStorageSettings localStorageSettings)
 {
     _assemblyLoader       = assemblyLoader;
     _localStorageSettings = localStorageSettings;
 }
        public ShoppingCartController(
            IShoppingCart shoppingCart,
            IShapeFactory shapeFactory,
            IContentManager contentManager,
            IWorkContextAccessor wca,
            IEnumerable <ICheckoutService> checkoutServices,
            IEnumerable <IShippingMethodProvider> shippingMethodProviders,
            IEnumerable <IExtraCartInfoProvider> extraCartInfoProviders,
            IWorkflowManager workflowManager,
            INotifier notifier,
            IEnumerable <IProductAttributeExtensionProvider> attributeExtensionProviders,
            ICurrencyProvider currencyProvider,
            ILocalStorageSettings localStorageSettings,
            IEnumerable <ICartLifeCycleEventHandler> cartLifeCycleEventHandlers)
        {
            _shippingMethodProviders = shippingMethodProviders;
            _shoppingCart            = shoppingCart;
            _shapeFactory            = shapeFactory;
            _contentManager          = contentManager;
            _wca = wca;
            _checkoutServices       = checkoutServices;
            _extraCartInfoProviders = extraCartInfoProviders;
            _notifier = notifier;
            _attributeExtensionProviders = attributeExtensionProviders;
            _currencyProvider            = currencyProvider;
            _localStorageSettings        = localStorageSettings;
            _cartLifeCycleEventHandlers  = cartLifeCycleEventHandlers;

            T = NullLocalizer.Instance;
        }
 public LocalFileSystemStorageSource(ILocalStorageSettings settings)
 {
     _settings = settings;
 }
 public LocalFileSystemStorageSource(ILocalStorageSettings settings)
 {
     _settings = settings;
 }