Exemple #1
0
 public Handler(IGlobalConfigurationProvider globalConfiguratoinProvider, IGitHubClientProvider gitHubClientProvider, IRepositoryConfigurationProvider repositoryConfigurationProvider, ILogger logger)
 {
     this.GlobalConfigurationProvider     = globalConfiguratoinProvider;
     this.GitHubClientProvider            = gitHubClientProvider;
     this.RepositoryConfigurationProvider = repositoryConfigurationProvider;
     this.Logger = logger;
 }
Exemple #2
0
 public PullRequestTimeoutFunction(IPullRequestTracker pullRequestTracker, IGitHubClientProvider gitHubClientProvider, GitHubRateLimiter limiter, IRepositoryConfigurationProvider repositoryConfigurationProvider, IGlobalConfigurationProvider globalConfigurationProvider)
 {
     this.pullRequestTracker   = pullRequestTracker;
     this.gitHubClientProvider = gitHubClientProvider;
     this.limiter = limiter;
     this.repositoryConfigurationProvider = repositoryConfigurationProvider;
     this.globalConfigurationProvider     = globalConfigurationProvider;
 }
Exemple #3
0
 public PullRequestHandler(IGlobalConfigurationProvider globalConfigurationProvider, IGitHubClientProvider gitHubClientProvider, IRepositoryConfigurationProvider repositoryConfigurationProvider, ILogger logger) : base(globalConfigurationProvider, gitHubClientProvider, repositoryConfigurationProvider, logger)
 {
 }
Exemple #4
0
 public RepositoryConfigurationProvider(IGitHubClientProvider gitHubClientProvider)
 {
     this.gitHubClientProvider = gitHubClientProvider;
 }
Exemple #5
0
 public CheckRunHandler(IGlobalConfigurationProvider globalConfigurationProvider, IGitHubClientProvider gitHubCLientProvider, IRepositoryConfigurationProvider repositoryConfigurationProvider, IDistributedLockProvider distributedLockProvider, ILogger logger) : base(globalConfigurationProvider, gitHubCLientProvider, repositoryConfigurationProvider, distributedLockProvider, logger)
 {
 }
Exemple #6
0
 public GitHubWebhookProcessor(IGlobalConfigurationProvider globalConfigurationProvider, IGitHubClientProvider gitHubClientProvider, IRepositoryConfigurationProvider repositoryConfigurationProvider)
 {
     this.globalConfigurationProvider     = globalConfigurationProvider;
     this.gitHubClientProvider            = gitHubClientProvider;
     this.repositoryConfigurationProvider = repositoryConfigurationProvider;
 }
 public GitHubWebhookProcessor(IGlobalConfigurationProvider globalConfigurationProvider, IGitHubClientProvider gitHubClientProvider, IRepositoryConfigurationProvider repositoryConfigurationProvider, SecretClient secretClient, GitHubRateLimiter limiter, IPullRequestTracker pullRequestTracker)
 {
     this.globalConfigurationProvider     = globalConfigurationProvider;
     this.gitHubClientProvider            = gitHubClientProvider;
     this.repositoryConfigurationProvider = repositoryConfigurationProvider;
     this.secretClient       = secretClient;
     this.limiter            = limiter;
     this.pullRequestTracker = pullRequestTracker;
 }
Exemple #8
0
 public CheckRunHandler(IGlobalConfigurationProvider globalConfigurationProvider, IGitHubClientProvider gitHubCLientProvider, IRepositoryConfigurationProvider repositoryConfigurationProvider, ILogger logger, GitHubRateLimiter limiter) : base(globalConfigurationProvider, gitHubCLientProvider, repositoryConfigurationProvider, logger, limiter)
 {
 }
 public RepositoryConfigurationProvider(IGitHubClientProvider gitHubClientProvider, IMemoryCache cache, GitHubRateLimiter limiter)
 {
     this.gitHubClientProvider = gitHubClientProvider;
     this.cache   = cache;
     this.limiter = limiter;
 }
 public GitHubOperator(IGitHubClientProvider gitHubClientProvider)
 {
     this.GitHubClientProvider = gitHubClientProvider;
 }
 public PullRequestHandler(IGlobalConfigurationProvider globalConfigurationProvider, IGitHubClientProvider gitHubClientProvider, IRepositoryConfigurationProvider repositoryConfigurationProvider, ILogger logger, GitHubRateLimiter limiter, IPullRequestTracker pullRequestTracker) : base(globalConfigurationProvider, gitHubClientProvider, repositoryConfigurationProvider, logger, limiter)
 {
     this.pullRequestTracker = pullRequestTracker;
 }
 public RepositoryConfigurationProvider(IGitHubClientProvider gitHubClientProvider, IMemoryCache cache)
 {
     this.gitHubClientProvider = gitHubClientProvider;
     this.cache = cache;
 }