public SettingsPartDriver(INotifier notifier, IWebStoreServices webStoreServices, IOrchardServices orcharServices, ICacheManagerServices cacheManagerServices) { this._notifier = notifier; this._orcharServices = orcharServices; this._localizer = NullLocalizer.Instance; this._webStoreServices = webStoreServices; this._cacheManagerServices = cacheManagerServices; }
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 SettingsController(IWebStoreServices webStoreServices, ICacheManagerServices cacheManagerServices) { this._localizer = NullLocalizer.Instance; this._webStoreServices = webStoreServices; this._cacheManagerServices = cacheManagerServices; }