コード例 #1
0
 public S3StorageProviderSettingsPartDriver(IStorageProvider storageProvider, INotifier notifier)
 {
     _storageProvider = storageProvider;
     _notifier        = notifier;
     T      = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
 }
コード例 #2
0
        public PushNotificationService(
            IOrchardServices orchardServices,
            IRepository <PushNotificationRecord> pushNotificationRepository,
            IRepository <UserDeviceRecord> userDeviceRecord,
            INotifier notifier,
            ShellSettings shellSetting,
            ISessionLocator sessionLocator,
            ITokenizer tokenizer,
            IQueryPickerService queryPickerService,
            ITransactionManager transactionManager

            )
        {
            _orchardServices = orchardServices;
            T = NullLocalizer.Instance;
            _pushNotificationRepository = pushNotificationRepository;
            _notifier         = notifier;
            _shellSetting     = shellSetting;
            _sessionLocator   = sessionLocator;
            _tokenizer        = tokenizer;
            _userDeviceRecord = userDeviceRecord;
            if (_orchardServices.WorkContext != null)
            {
                _orchardServices.WorkContext.TryResolve <ICommunicationService>(out _communicationService);
            }
            _queryPickerServices = queryPickerService;
            _transactionManager  = transactionManager;
            Logger = OrchardLogging.NullLogger.Instance;
        }
コード例 #3
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;
 }
コード例 #4
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);
 }
コード例 #5
0
 public ProcessService()
 {
     Logger = NullLogger.Instance;
     lock (_lock) {
         if (_shortHandCustomizerT == null)
         {
             _shortHandCustomizerT = BuildShortHandTransformCustomizer();
         }
         if (_shortHandCustomizerV == null)
         {
             _shortHandCustomizerV = BuildShortHandValidateCustomizer();
         }
     }
 }
コード例 #6
0
 public AutoModule()
 {
     Logger = NullLogger.Instance;
 }
コード例 #7
0
 public ProcessService(IOrchardServices orchard)
 {
     _orchard = orchard;
     Logger   = NullLogger.Instance;
 }