Exemplo n.º 1
0
 public KontentWebhook(
     ILogger <KontentWebhook> logger,
     IWebhookValidator webhookValidator,
     IStorageRepository storageRepository,
     ICoreContext coreContext
     ) : base(logger)
 {
     this.webhookValidator  = webhookValidator;
     this.storageRepository = storageRepository;
     this.coreContext       = coreContext;
 }
Exemplo n.º 2
0
 public GitHubCreatePullRequest(
     ILogger <GitHubCreatePullRequest> logger,
     IWebhookValidator webhookValidator,
     IKontentRepository kontentRepository,
     IBlobDownloader blobDownloader,
     IGitHubRepository gitHubRepository
     ) : base(logger)
 {
     this.webhookValidator  = webhookValidator;
     this.kontentRepository = kontentRepository;
     this.blobDownloader    = blobDownloader;
     this.gitHubRepository  = gitHubRepository;
 }
Exemplo n.º 3
0
 public KontentWebhook(
     ILogger <KontentWebhook> logger,
     IWebhookValidator webhookValidator,
     IKontentRepository kontentRepository,
     ITranslationService translationService,
     ITextAnalyzer textAnalyzer
     ) : base(logger)
 {
     this.webhookValidator   = webhookValidator;
     this.kontentRepository  = kontentRepository;
     this.translationService = translationService;
     this.textAnalyzer       = textAnalyzer;
 }
Exemplo n.º 4
0
 public KontentGatsbyThrottle(
     ILogger <KontentAzureTranslate> logger,
     QueueClient queueClient,
     IWebhookValidator webhookValidator,
     Action <DebouncedItem> debounced,
     IGatsbyProxy gatsbyProxy
     ) : base(logger)
 {
     this.queueClient      = queueClient;
     this.webhookValidator = webhookValidator;
     this.gatsbyProxy      = gatsbyProxy;
     this.debounced        = debounced;
 }