Exemple #1
0
 public UserEventHandler(IWebStoreServices webStoreServices, IOrchardServices orchardServices, ISessionManagerServices sessionManagerServices, IEnumerable <IBasketEventHandler> basketEventHandlers)
 {
     this._orchardServices        = orchardServices;
     this._webStoreServices       = webStoreServices;
     this._basketEventHandlers    = basketEventHandlers;
     this._sessionManagerServices = sessionManagerServices;
 }
 public CatalogHierarchyServices(IOrchardServices orchardServices, IWebStoreServices webStoreServices, ISessionManagerServices sessionManagerServices, IEnumerable <ICatalogEventHandler> catalogEventHandlers)
 {
     this._orchardServices        = orchardServices;
     this._webStoreServices       = webStoreServices;
     this._catalogEventHandlers   = catalogEventHandlers;
     this._sessionManagerServices = sessionManagerServices;
 }
 public CheckoutController(IWebStoreServices webStoreServices, IOrchardServices orchardServices, ISessionManagerServices sessionManagerServices, IEnumerable <IBasketEventHandler> basketEventHandlers, IShapeFactory shapeFactory)
 {
     this._shapeFactory           = shapeFactory;
     this._orchardServices        = orchardServices;
     this._localizer              = NullLocalizer.Instance;
     this._webStoreServices       = webStoreServices;
     this._basketEventHandlers    = basketEventHandlers;
     this._sessionManagerServices = sessionManagerServices;
 }
Exemple #4
0
 public ProductListServices(IWebStoreServices webStoreServices, IOrchardServices orchardServices, ISessionManagerServices sessionManagerServices, ICatalogHierarchyServices catalogHierarchyServices, IEnumerable <ICatalogEventHandler> catalogEventHandlers)
 {
     this._orchardServices      = orchardServices;
     this._webStoreServices     = webStoreServices;
     this._catalogEventHandlers = catalogEventHandlers;
     this._logger = Orchard.Logging.NullLogger.Instance;
     this._sessionManagerServices   = sessionManagerServices;
     this._catalogHierarchyServices = catalogHierarchyServices;
 }
Exemple #5
0
 public WebStoreServices(IOrchardServices orchardServices, ICacheManagerServices cacheManagerServices, ISessionManagerServices sessionManagerServices)
 {
     this._orchardServices      = orchardServices;
     this._cacheManagerServices = cacheManagerServices;
     this._logger = Orchard.Logging.NullLogger.Instance;
     this._sessionManagerServices = sessionManagerServices;
     this._settings             = new Lazy <SettingsPart>(this.GetSettings);
     this._storeContext         = new Lazy <StoreContext>(this.GetStoreContext);
     this._numberFormat         = new Lazy <NumberFormatInfo>(this.GetNumberFormat);
     this._anonymousUserName    = new Lazy <String>(this.EnsureAnonymousUserName);
     this._defaultStoreContext  = new Lazy <StoreContext>(this.GetDefaultStoreContext);
     this._defaultConfiguration = new Lazy <WebStoreServices.StoreConfiguration>(this.GetDefaultConfiguration);
 }
 public UserOrdersServices(IWebStoreServices webStoreClientServices, ISessionManagerServices sessionManagerServices)
 {
     this._webStoreClientServices = webStoreClientServices;
     this._sessionManagerServices = sessionManagerServices;
 }