Exemple #1
0
        public GetReadmeFunction(QueueClient queueClient,
                                 IHttpClientFactory httpClientFactory,
                                 GitHubRestApiService gitHubApiService,
                                 IGitHubApiStatusService gitHubApiStatusService,
                                 GitHubGraphQLApiService gitHubGraphQLApiService)
        {
            _httpClient = httpClientFactory.CreateClient();

            _cloudQueueClient        = queueClient;
            _gitHubRestApiService    = gitHubApiService;
            _gitHubApiStatusService  = gitHubApiStatusService;
            _gitHubGraphQLApiService = gitHubGraphQLApiService;
        }
Exemple #2
0
 public GetReadmeFunction(GitHubRestApiService gitHubApiService, IHttpClientFactory httpClientFactory, CloudQueueClient cloudQueueClient)
 {
     _httpClient           = httpClientFactory.CreateClient();
     _gitHubRestApiService = gitHubApiService;
     _cloudQueueClient     = cloudQueueClient;
 }
 public OpenPullRequestFunction(GitHubRestApiService gitHubApiService, GitHubGraphQLApiService gitHubGraphQLApiService) =>
 (_gitHubRestApiService, _gitHubGraphQLApiService) = (gitHubApiService, gitHubGraphQLApiService);