コード例 #1
0
        public CombinatorService(
            ICacheFileService cacheFileService,
            IResourceProcessingService resourceProcessingService,
            ILockingCacheManager lockingCacheManager,
            ICombinatorEventMonitor combinatorEventMonitor,
            ICombinatorResourceManager combinatorResourceManager)
        {
            _cacheFileService = cacheFileService;
            _resourceProcessingService = resourceProcessingService;
            _lockingCacheManager = lockingCacheManager;
            _combinatorEventMonitor = combinatorEventMonitor;
            _combinatorResourceManager = combinatorResourceManager;

            Logger = NullLogger.Instance;
            T = NullLocalizer.Instance;
        }
コード例 #2
0
        public CacheFileService(
            IStorageProvider storageProvider,
            IRepository<CombinedFileRecord> fileRepository,
            ICombinatorResourceManager combinatorResourceManager,
            IClock clock,
            ICombinatorEventHandler combinatorEventHandler,
            ICacheManager cacheManager,
            ICombinatorEventMonitor combinatorEventMonitor)
        {
            _storageProvider = storageProvider;
            _fileRepository = fileRepository;
            _combinatorResourceManager = combinatorResourceManager;
            _clock = clock;
            _combinatorEventHandler = combinatorEventHandler;

            _cacheManager = cacheManager;
            _combinatorEventMonitor = combinatorEventMonitor;
        }
コード例 #3
0
ファイル: CombinatorService.cs プロジェクト: zaieda/Coevery
        public CombinatorService(
            ICacheFileService cacheFileService,
            IResourceProcessingService resourceProcessingService,
            ILockingCacheManager lockingCacheManager,
            ICombinatorEventMonitor combinatorEventMonitor,
            ILockFileManager lockFileManager,
            ICombinatorResourceManager combinatorResourceManager)
        {
            _cacheFileService          = cacheFileService;
            _resourceProcessingService = resourceProcessingService;
            _lockingCacheManager       = lockingCacheManager;
            _combinatorEventMonitor    = combinatorEventMonitor;
            _lockFileManager           = lockFileManager;
            _combinatorResourceManager = combinatorResourceManager;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }
コード例 #4
0
ファイル: CacheFileService.cs プロジェクト: zaieda/Coevery
        public CacheFileService(
            IStorageProvider storageProvider,
            IRepository <CombinedFileRecord> fileRepository,
            ICombinatorResourceManager combinatorResourceManager,
            IClock clock,
            ICombinatorEventHandler combinatorEventHandler,
            ICacheManager cacheManager,
            ICombinatorEventMonitor combinatorEventMonitor)
        {
            _storageProvider           = storageProvider;
            _fileRepository            = fileRepository;
            _combinatorResourceManager = combinatorResourceManager;
            _clock = clock;
            _combinatorEventHandler = combinatorEventHandler;

            _cacheManager           = cacheManager;
            _combinatorEventMonitor = combinatorEventMonitor;
        }
コード例 #5
0
        public CombinedResourceManager(
            IEnumerable<Meta<IResourceManifestProvider>> resourceProviders,
            ISiteService siteService,
            ICombinatorService combinatorService,
            IShapeTableLocator shapeTableLocator,
            IThemeManager themeManager,
            IHttpContextAccessor httpContextAccessor,
            ICacheManager cacheManager,
            ICombinatorEventMonitor combinatorEventMonitor)
            : base(resourceProviders)
        {
            _siteService = siteService;
            _combinatorService = combinatorService;
            _shapeTableLocator = shapeTableLocator;
            _themeManager = themeManager;
            _httpContextAccessor = httpContextAccessor;
            _cacheManager = cacheManager;
            _combinatorEventMonitor = combinatorEventMonitor;

            Logger = NullLogger.Instance;
        }
コード例 #6
0
        public CombinedResourceManager(
            IEnumerable <Meta <IResourceManifestProvider> > resourceProviders,
            ISiteService siteService,
            ICombinatorService combinatorService,
            IShapeTableLocator shapeTableLocator,
            IThemeManager themeManager,
            IHttpContextAccessor httpContextAccessor,
            ICacheManager cacheManager,
            ICombinatorEventMonitor combinatorEventMonitor)
            : base(resourceProviders)
        {
            _siteService            = siteService;
            _combinatorService      = combinatorService;
            _shapeTableLocator      = shapeTableLocator;
            _themeManager           = themeManager;
            _httpContextAccessor    = httpContextAccessor;
            _cacheManager           = cacheManager;
            _combinatorEventMonitor = combinatorEventMonitor;

            Logger = NullLogger.Instance;
        }
コード例 #7
0
        public CacheFileService(
            IOrchardHost orchardHost,
            IStorageProvider storageProvider,
            IRepository <CombinedFileRecord> fileRepository,
            ICombinatorResourceManager combinatorResourceManager,
            UrlHelper urlHelper,
            IClock clock,
            ISessionLocator sessionLocator,
            ICombinatorEventHandler combinatorEventHandler,
            ICacheService cacheService,
            ICombinatorEventMonitor combinatorEventMonitor)
        {
            _orchardHost               = orchardHost;
            _storageProvider           = storageProvider;
            _fileRepository            = fileRepository;
            _combinatorResourceManager = combinatorResourceManager;
            _urlHelper              = urlHelper;
            _clock                  = clock;
            _sessionLocator         = sessionLocator;
            _combinatorEventHandler = combinatorEventHandler;

            _cacheService           = cacheService;
            _combinatorEventMonitor = combinatorEventMonitor;
        }
コード例 #8
0
        public CacheFileService(
            IOrchardHost orchardHost,
            IStorageProvider storageProvider,
            IRepository<CombinedFileRecord> fileRepository,
            ICombinatorResourceManager combinatorResourceManager,
            UrlHelper urlHelper,
            IClock clock,
            ISessionLocator sessionLocator,
            ICombinatorEventHandler combinatorEventHandler,
            ICacheService cacheService,
            ICombinatorEventMonitor combinatorEventMonitor)
        {
            _orchardHost = orchardHost;
            _storageProvider = storageProvider;
            _fileRepository = fileRepository;
            _combinatorResourceManager = combinatorResourceManager;
            _urlHelper = urlHelper;
            _clock = clock;
            _sessionLocator = sessionLocator;
            _combinatorEventHandler = combinatorEventHandler;

            _cacheService = cacheService;
            _combinatorEventMonitor = combinatorEventMonitor;
        }