예제 #1
0
 public WebhooksService(
     ILogger <WebhooksService> logger,
     IContentCacheService contentCacheService,
     IWebhookContentProcessor webhookContentProcessor)
 {
     this.logger = logger;
     this.contentCacheService     = contentCacheService;
     this.webhookContentProcessor = webhookContentProcessor;
 }
예제 #2
0
 public WebhooksService(
     ILogger <WebhooksService> logger,
     IContentCacheService contentCacheService,
     IWebhookContentProcessor webhookContentProcessor,
     IConfiguration config)
 {
     this.logger = logger;
     this.contentCacheService     = contentCacheService;
     this.webhookContentProcessor = webhookContentProcessor;
     _sharedContentId             = config.GetValue <Guid>(Constants.SharedContentGuidConfig);
 }
예제 #3
0
 public CacheReloadService(
     ILogger <CacheReloadService> logger,
     AutoMapper.IMapper mapper,
     IEventMessageService <ContentPageModel> eventMessageService,
     ICmsApiService cmsApiService,
     IContentCacheService contentCacheService,
     IAppRegistryApiService appRegistryService,
     IContentTypeMappingService contentTypeMappingService,
     IApiCacheService apiCacheService)
 {
     this.logger = logger;
     this.mapper = mapper;
     this.eventMessageService       = eventMessageService;
     this.cmsApiService             = cmsApiService;
     this.contentCacheService       = contentCacheService;
     this.appRegistryService        = appRegistryService;
     this.contentTypeMappingService = contentTypeMappingService;
     this.apiCacheService           = apiCacheService;
 }
예제 #4
0
 public WebhookContentProcessor(
     ILogger <WebhookContentProcessor> logger,
     AutoMapper.IMapper mapper,
     IEventMessageService <ContentPageModel> eventMessageService,
     ICmsApiService cmsApiService,
     IContentPageService <ContentPageModel> contentPageService,
     IContentCacheService contentCacheService,
     IEventGridService eventGridService,
     IPageLocatonUpdater pageLocatonUpdater,
     IContentItemUpdater contentItemUpdater)
 {
     this.logger = logger;
     this.mapper = mapper;
     this.eventMessageService = eventMessageService;
     this.cmsApiService       = cmsApiService;
     this.contentPageService  = contentPageService;
     this.contentCacheService = contentCacheService;
     this.eventGridService    = eventGridService;
     this.pageLocatonUpdater  = pageLocatonUpdater;
     this.contentItemUpdater  = contentItemUpdater;
 }