/// <summary> /// Initializes a new instance of the <see cref="PublishedSnapshotServiceEventHandler" /> class. /// </summary> public PublishedSnapshotServiceEventHandler( IPublishedSnapshotService publishedSnapshotService, INuCacheContentService publishedContentService) { _publishedSnapshotService = publishedSnapshotService; _publishedContentService = publishedContentService; }
public NuCacheStartupHandler( INuCacheContentService nuCacheContentService, IRuntimeState runtimeState) { _nuCacheContentService = nuCacheContentService; _runtimeState = runtimeState; }
public PublishedSnapshotServiceEventHandler( IRuntimeState runtime, IPublishedSnapshotService publishedSnapshotService, INuCacheContentService publishedContentService, IContentService contentService, IMediaService mediaService) : this(publishedSnapshotService, publishedContentService) { }
/// <summary> /// Initializes a new instance of the <see cref="PublishedSnapshotServiceEventHandler"/> class. /// </summary> public PublishedSnapshotServiceEventHandler( IRuntimeState runtime, IPublishedSnapshotService publishedSnapshotService, INuCacheContentService publishedContentService, IContentService contentService, IMediaService mediaService) { _runtime = runtime; _publishedSnapshotService = publishedSnapshotService; _publishedContentService = publishedContentService; _contentService = contentService; _mediaService = mediaService; }
public PublishedSnapshotService( PublishedSnapshotServiceOptions options, ISyncBootStateAccessor syncBootStateAccessor, IMainDom mainDom, ServiceContext serviceContext, IPublishedContentTypeFactory publishedContentTypeFactory, IPublishedSnapshotAccessor publishedSnapshotAccessor, IVariationContextAccessor variationContextAccessor, IProfilingLogger profilingLogger, ILoggerFactory loggerFactory, IScopeProvider scopeProvider, INuCacheContentService publishedContentService, IDefaultCultureAccessor defaultCultureAccessor, IOptions <GlobalSettings> globalSettings, IPublishedModelFactory publishedModelFactory, IHostingEnvironment hostingEnvironment, IOptions <NuCacheSettings> config, ContentDataSerializer contentDataSerializer) { _options = options; _syncBootStateAccessor = syncBootStateAccessor; _mainDom = mainDom; _serviceContext = serviceContext; _publishedContentTypeFactory = publishedContentTypeFactory; _publishedSnapshotAccessor = publishedSnapshotAccessor; _variationContextAccessor = variationContextAccessor; _profilingLogger = profilingLogger; _loggerFactory = loggerFactory; _logger = _loggerFactory.CreateLogger <PublishedSnapshotService>(); _scopeProvider = scopeProvider; _publishedContentService = publishedContentService; _defaultCultureAccessor = defaultCultureAccessor; _globalSettings = globalSettings.Value; _hostingEnvironment = hostingEnvironment; _contentDataSerializer = contentDataSerializer; _config = config.Value; _publishedModelFactory = publishedModelFactory; }
public PublishedSnapshotStatus(IPublishedSnapshotService?service, INuCacheContentService publishedContentService) { _service = service as PublishedSnapshotService; _publishedContentService = publishedContentService; }