public GetRepositoriesForUserQueryHandler( IGitHubClientFactory gitHubClientFactory, DataContext dataContext) { this.gitHubClientFactory = gitHubClientFactory; this.dataContext = dataContext; }
public GitCommandProcessorFactory(IGitHubClientFactory clientFactory, IGitWrapperFactory wrapperFactory, WorkerConfiguration config) { _clientFactory = clientFactory; _wrapperFactory = wrapperFactory; _config = config; }
public ChangeLogUpdater(IGitHubClientFactory gitHubClientFactory, IEnumerable <IDocumentFormatter> documentFormatters, IOptions <AutoGitReleaseOptions> options) { _gitHubClientFactory = gitHubClientFactory; _documentFormatters = documentFormatters; _options = options.Value; }
/// <summary> /// Construct an <see cref="AdministrationController"/> /// </summary> /// <param name="databaseContext">The <see cref="IDatabaseContext"/> for the <see cref="ApiController"/></param> /// <param name="authenticationContextFactory">The <see cref="IAuthenticationContextFactory"/> for the <see cref="ApiController"/></param> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/></param> /// <param name="serverUpdater">The value of <see cref="serverUpdater"/></param> /// <param name="application">The value of <see cref="application"/></param> /// <param name="ioManager">The value of <see cref="ioManager"/></param> /// <param name="platformIdentifier">The value of <see cref="platformIdentifier"/></param> /// <param name="logger">The <see cref="ILogger"/> for the <see cref="ApiController"/></param> /// <param name="updatesConfigurationOptions">The <see cref="IOptions{TOptions}"/> containing value of <see cref="updatesConfiguration"/></param> /// <param name="generalConfigurationOptions">The <see cref="IOptions{TOptions}"/> containing value of <see cref="generalConfiguration"/></param> public AdministrationController( IDatabaseContext databaseContext, IAuthenticationContextFactory authenticationContextFactory, IGitHubClientFactory gitHubClientFactory, IServerControl serverUpdater, IApplication application, IIOManager ioManager, IPlatformIdentifier platformIdentifier, ILogger <AdministrationController> logger, IOptions <UpdatesConfiguration> updatesConfigurationOptions, IOptions <GeneralConfiguration> generalConfigurationOptions) : base( databaseContext, authenticationContextFactory, logger, false, true) { this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); this.serverUpdater = serverUpdater ?? throw new ArgumentNullException(nameof(serverUpdater)); this.application = application ?? throw new ArgumentNullException(nameof(application)); this.ioManager = ioManager ?? throw new ArgumentNullException(nameof(ioManager)); this.platformIdentifier = platformIdentifier ?? throw new ArgumentNullException(nameof(platformIdentifier)); updatesConfiguration = updatesConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(updatesConfigurationOptions)); generalConfiguration = generalConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(generalConfigurationOptions)); }
public PullRequestCommentCommandHandler(IGitHubClientFactory gitHubClientFactory) : base(gitHubClientFactory) { commands = new Dictionary <string, CommandHandler>() { { "ok", new CommandHandler(OkCommandPermissionCheck, OkCommandExecute) } }.ToImmutableDictionary(); }
/// <summary> /// Construct an <see cref="Instance"/> /// </summary> /// <param name="metadata">The value of <see cref="metadata"/></param> /// <param name="repositoryManager">The value of <see cref="RepositoryManager"/></param> /// <param name="byondManager">The value of <see cref="ByondManager"/></param> /// <param name="dreamMaker">The value of <see cref="dreamMaker"/></param> /// <param name="watchdog">The value of <see cref="Watchdog"/></param> /// <param name="chat">The value of <see cref="Chat"/></param> /// <param name="configuration">The value of <see cref="Configuration"/></param> /// <param name="compileJobConsumer">The value of <see cref="compileJobConsumer"/></param> /// <param name="databaseContextFactory">The value of <see cref="databaseContextFactory"/></param> /// <param name="dmbFactory">The value of <see cref="dmbFactory"/></param> /// <param name="jobManager">The value of <see cref="jobManager"/></param> /// <param name="eventConsumer">The value of <see cref="eventConsumer"/></param> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/></param> /// <param name="logger">The value of <see cref="logger"/></param> public Instance( Api.Models.Instance metadata, IRepositoryManager repositoryManager, IByondManager byondManager, IDreamMaker dreamMaker, IWatchdog watchdog, IChat chat, StaticFiles.IConfiguration configuration, ICompileJobConsumer compileJobConsumer, IDatabaseContextFactory databaseContextFactory, IDmbFactory dmbFactory, IJobManager jobManager, IEventConsumer eventConsumer, IGitHubClientFactory gitHubClientFactory, ILogger <Instance> logger) { this.metadata = metadata ?? throw new ArgumentNullException(nameof(metadata)); RepositoryManager = repositoryManager ?? throw new ArgumentNullException(nameof(repositoryManager)); ByondManager = byondManager ?? throw new ArgumentNullException(nameof(byondManager)); this.dreamMaker = dreamMaker ?? throw new ArgumentNullException(nameof(dreamMaker)); Watchdog = watchdog ?? throw new ArgumentNullException(nameof(watchdog)); Chat = chat ?? throw new ArgumentNullException(nameof(chat)); Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); this.compileJobConsumer = compileJobConsumer ?? throw new ArgumentNullException(nameof(compileJobConsumer)); this.databaseContextFactory = databaseContextFactory ?? throw new ArgumentNullException(nameof(databaseContextFactory)); this.dmbFactory = dmbFactory ?? throw new ArgumentNullException(nameof(dmbFactory)); this.jobManager = jobManager ?? throw new ArgumentNullException(nameof(jobManager)); this.eventConsumer = eventConsumer ?? throw new ArgumentNullException(nameof(eventConsumer)); this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
/// <summary> /// Construct a <see cref="GitHubManager"/> /// </summary> /// <param name="gitHubConfigurationOptions">The <see cref="IOptions{TOptions}"/> containing the value of <see cref="gitHubConfiguration"/></param> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/></param> /// <param name="databaseContext">The value of <see cref="databaseContext"/></param> /// <param name="logger">The value of <see cref="logger"/></param> public GitHubManager(IOptions <GitHubConfiguration> gitHubConfigurationOptions, IGitHubClientFactory gitHubClientFactory, IDatabaseContext databaseContext, ILogger <GitHubManager> logger) { gitHubConfiguration = gitHubConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(gitHubConfigurationOptions)); this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); this.databaseContext = databaseContext ?? throw new ArgumentNullException(nameof(databaseContext)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public CheckAreaOwnerConfigs(IGitHubClientFactory gitHubClientFactory, IListRepositories listRepositories, IAreaOwnerProvider areaOwnerProvider, ILabelSubscription labelSubscription) { _gitHubClientFactory = gitHubClientFactory; _listRepositories = listRepositories; _areaOwnerProvider = areaOwnerProvider; _labelSubscription = labelSubscription; }
public PublishMcrDocsCommand(IGitService gitService, IGitHubClientFactory gitHubClientFactory, ILoggerService loggerService) : base() { _gitService = gitService ?? throw new ArgumentNullException(nameof(gitService)); _gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); _loggerService = loggerService ?? throw new ArgumentNullException(nameof(loggerService)); }
/// <summary> /// Construct <see cref="DreamMaker"/> /// </summary> /// <param name="byond">The value of <see cref="byond"/></param> /// <param name="ioManager">The value of <see cref="ioManager"/></param> /// <param name="configuration">The value of <see cref="configuration"/></param> /// <param name="sessionControllerFactory">The value of <see cref="sessionControllerFactory"/></param> /// <param name="eventConsumer">The value of <see cref="eventConsumer"/></param> /// <param name="chatManager">The value of <see cref="chatManager"/></param> /// <param name="processExecutor">The value of <see cref="processExecutor"/></param> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/>.</param> /// <param name="compileJobConsumer">The value of <see cref="compileJobConsumer"/>.</param> /// <param name="repositoryManager">The value of <see cref="repositoryManager"/>.</param> /// <param name="gitHubDeploymentManager">The value of <see cref="gitHubDeploymentManager"/>.</param> /// <param name="logger">The value of <see cref="logger"/></param> /// <param name="metadata">The value of <see cref="metadata"/>.</param> public DreamMaker( IByondManager byond, IIOManager ioManager, StaticFiles.IConfiguration configuration, ISessionControllerFactory sessionControllerFactory, IEventConsumer eventConsumer, IChatManager chatManager, IProcessExecutor processExecutor, IGitHubClientFactory gitHubClientFactory, ICompileJobSink compileJobConsumer, IRepositoryManager repositoryManager, IGitHubDeploymentManager gitHubDeploymentManager, ILogger <DreamMaker> logger, Api.Models.Instance metadata) { this.byond = byond ?? throw new ArgumentNullException(nameof(byond)); this.ioManager = ioManager ?? throw new ArgumentNullException(nameof(ioManager)); this.configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); this.sessionControllerFactory = sessionControllerFactory ?? throw new ArgumentNullException(nameof(sessionControllerFactory)); this.eventConsumer = eventConsumer ?? throw new ArgumentNullException(nameof(eventConsumer)); this.chatManager = chatManager ?? throw new ArgumentNullException(nameof(chatManager)); this.processExecutor = processExecutor ?? throw new ArgumentNullException(nameof(processExecutor)); this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); this.compileJobConsumer = compileJobConsumer ?? throw new ArgumentNullException(nameof(compileJobConsumer)); this.repositoryManager = repositoryManager ?? throw new ArgumentNullException(nameof(repositoryManager)); this.gitHubDeploymentManager = gitHubDeploymentManager ?? throw new ArgumentNullException(nameof(gitHubDeploymentManager)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.metadata = metadata ?? throw new ArgumentNullException(nameof(metadata)); deploymentLock = new object(); }
public GitHubLinkTask(ILogger <GitHubLinkTask> logger, ChangeLogConfiguration configuration, IGitRepository repository, IGitHubClientFactory gitHubClientFactory) { m_Logger = logger ?? throw new ArgumentNullException(nameof(logger)); m_Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); m_Repository = repository ?? throw new ArgumentNullException(nameof(repository)); m_GitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); }
/// <summary> /// Initializes a new instance of the <see cref="AdministrationController"/> class. /// </summary> /// <param name="databaseContext">The <see cref="IDatabaseContext"/> for the <see cref="ApiController"/>.</param> /// <param name="authenticationContextFactory">The <see cref="IAuthenticationContextFactory"/> for the <see cref="ApiController"/>.</param> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/>.</param> /// <param name="serverControl">The value of <see cref="serverControl"/>.</param> /// <param name="serverUpdater">The value of <see cref="serverUpdater"/>.</param> /// <param name="assemblyInformationProvider">The value of <see cref="assemblyInformationProvider"/>.</param> /// <param name="ioManager">The value of <see cref="ioManager"/>.</param> /// <param name="platformIdentifier">The value of <see cref="platformIdentifier"/>.</param> /// <param name="fileTransferService">The value of <see cref="fileTransferService"/>.</param> /// <param name="logger">The <see cref="ILogger"/> for the <see cref="ApiController"/>.</param> /// <param name="updatesConfigurationOptions">The <see cref="IOptions{TOptions}"/> containing value of <see cref="updatesConfiguration"/>.</param> /// <param name="fileLoggingConfigurationOptions">The <see cref="IOptions{TOptions}"/> containing value of <see cref="fileLoggingConfiguration"/>.</param> public AdministrationController( IDatabaseContext databaseContext, IAuthenticationContextFactory authenticationContextFactory, IGitHubClientFactory gitHubClientFactory, IServerControl serverControl, IServerUpdateInitiator serverUpdater, IAssemblyInformationProvider assemblyInformationProvider, IIOManager ioManager, IPlatformIdentifier platformIdentifier, IFileTransferTicketProvider fileTransferService, ILogger <AdministrationController> logger, IOptions <UpdatesConfiguration> updatesConfigurationOptions, IOptions <FileLoggingConfiguration> fileLoggingConfigurationOptions) : base( databaseContext, authenticationContextFactory, logger, true) { this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); this.serverControl = serverControl ?? throw new ArgumentNullException(nameof(serverControl)); this.serverUpdater = serverUpdater ?? throw new ArgumentNullException(nameof(serverUpdater)); this.assemblyInformationProvider = assemblyInformationProvider ?? throw new ArgumentNullException(nameof(assemblyInformationProvider)); this.ioManager = ioManager ?? throw new ArgumentNullException(nameof(ioManager)); this.platformIdentifier = platformIdentifier ?? throw new ArgumentNullException(nameof(platformIdentifier)); this.fileTransferService = fileTransferService ?? throw new ArgumentNullException(nameof(fileTransferService)); updatesConfiguration = updatesConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(updatesConfigurationOptions)); fileLoggingConfiguration = fileLoggingConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(fileLoggingConfigurationOptions)); }
public GitCommandProcessor(WorkerConfiguration configuration, IProgressLog progressLog, IGitHubClientFactory gitHubClientFactory, IGitWrapperFactory gitWrapperFactory) { Configuration = configuration; ProgressLog = progressLog; _gitHubClientFactory = gitHubClientFactory; _gitWrapperFactory = gitWrapperFactory; }
public WebHookHandlerRegistry(IWebHookHandlerResolver webHookHandlerResolver, IGitHubClientFactory gitHubClientFactory, IHttpContextAccessor httpContextAccessor) { _webHookHandlerResolver = webHookHandlerResolver; _gitHubClientFactory = gitHubClientFactory; _httpContextAccessor = httpContextAccessor; }
public LoginWndVm(IGitHubClientFactory gitHubClientFactory, IUserManager userManager, GitHubUserProvider userProvider) { GitHubClientFactory = gitHubClientFactory; UserManager = userManager; _userProvider = userProvider; }
/// <summary> /// Construct a <see cref="RepositoryController"/> /// </summary> /// <param name="databaseContext">The <see cref="IDatabaseContext"/> for the <see cref="ApiController"/></param> /// <param name="authenticationContextFactory">The <see cref="IAuthenticationContextFactory"/> for the <see cref="ApiController"/></param> /// <param name="instanceManager">The value of <see cref="instanceManager"/></param> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/></param> /// <param name="jobManager">The value of <see cref="jobManager"/></param> /// <param name="logger">The <see cref="ILogger"/> for the <see cref="ApiController"/></param> /// <param name="generalConfigurationOptions">The <see cref="IOptions{TOptions}"/> containing value of <see cref="generalConfiguration"/></param> public RepositoryController(IDatabaseContext databaseContext, IAuthenticationContextFactory authenticationContextFactory, IInstanceManager instanceManager, IGitHubClientFactory gitHubClientFactory, IJobManager jobManager, ILogger <RepositoryController> logger, IOptions <GeneralConfiguration> generalConfigurationOptions) : base(databaseContext, authenticationContextFactory, logger, true, true) { this.instanceManager = instanceManager ?? throw new ArgumentNullException(nameof(instanceManager)); this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); this.jobManager = jobManager ?? throw new ArgumentNullException(nameof(jobManager)); generalConfiguration = generalConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(generalConfigurationOptions)); }
public UpsertPullRequestCommentCommandHandler( IGitHubClientFactory gitHubClientFactory, IMediator mediator) { this.gitHubClientFactory = gitHubClientFactory; this.mediator = mediator; }
public NewTrackingIssueModel(TriageContext triageContext, FunctionQueueUtil functionQueueUtil, IGitHubClientFactory gitHubClientFactory, ILogger <NewTrackingIssueModel> logger) { TriageContext = triageContext; TriageContextUtil = new TriageContextUtil(triageContext); GitHubClientFactory = gitHubClientFactory; FunctionQueueUtil = functionQueueUtil; Logger = logger; }
public GitHubAdapter(IGitHubClientFactory clientFactory, IConfiguration configuration, IFileCache cache, Options options) { _clientFactory = clientFactory; _configuration = configuration; _cache = cache; this.options = options; }
public ApplicationCommandHandler( IAggregateRootRepositoryFor <Application> aggregateRootRepoForInstallations, IGitHubClientFactory gitHubClientFactory ) { _aggregateRootRepoForInstallations = aggregateRootRepoForInstallations; _githubClientFactory = gitHubClientFactory; }
public SubscriptionsController( BuildAssetRegistryContext context, IBackgroundQueue queue, IGitHubClientFactory gitHubClientFactory) : base(context, queue) { _context = context; _gitHubClientFactory = gitHubClientFactory; }
/// <summary> /// Initializes a new instance of the <see cref="GitHubOAuthValidator"/> class. /// </summary> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/>.</param> /// <param name="logger">The value of <see cref="logger"/>.</param> /// <param name="oAuthConfiguration">The value of <see cref="oAuthConfiguration"/>.</param> public GitHubOAuthValidator( IGitHubClientFactory gitHubClientFactory, ILogger <GitHubOAuthValidator> logger, OAuthConfiguration oAuthConfiguration) { this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.oAuthConfiguration = oAuthConfiguration ?? throw new ArgumentNullException(nameof(oAuthConfiguration)); }
public StatusPageUtil( IGitHubClientFactory gitHubClientFactory, TriageContext context, ILogger logger) { GitHubClientFactory = gitHubClientFactory; TriageContextUtil = new TriageContextUtil(context); Logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="GitRemoteFeaturesFactory"/> class. /// </summary> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/>.</param> /// <param name="loggerFactory">The value of <see cref="loggerFactory"/>.</param> /// <param name="logger">The value of <see cref="logger"/>.</param> public GitRemoteFeaturesFactory( IGitHubClientFactory gitHubClientFactory, ILoggerFactory loggerFactory, ILogger <GitRemoteFeaturesFactory> logger) { this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); this.loggerFactory = loggerFactory ?? throw new ArgumentNullException(nameof(loggerFactory)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
/// <summary> /// Initializes a new instance of the <see cref="GitHubRemoteDeploymentManager"/> <see langword="class"/>. /// </summary> /// <param name="databaseContextFactory">The value of <see cref="databaseContextFactory"/>.</param> /// <param name="gitHubClientFactory">The value of <see cref="gitHubClientFactory"/>.</param> /// <param name="logger">The <see cref="ILogger"/> for the <see cref="BaseRemoteDeploymentManager"/>.</param> /// <param name="metadata">The <see cref="Api.Models.Instance"/> for the <see cref="BaseRemoteDeploymentManager"/>.</param> public GitHubRemoteDeploymentManager( IDatabaseContextFactory databaseContextFactory, IGitHubClientFactory gitHubClientFactory, ILogger <GitHubRemoteDeploymentManager> logger, Api.Models.Instance metadata) : base(logger, metadata) { this.databaseContextFactory = databaseContextFactory ?? throw new ArgumentNullException(nameof(databaseContextFactory)); this.gitHubClientFactory = gitHubClientFactory ?? throw new ArgumentNullException(nameof(gitHubClientFactory)); }
public GitHubHookController( IOptions <GitHubConnectionOptions> githubOptions, IGitHubClientFactory gitHubClientFactory, ILogger <GitHubHookController> logger) { _githubOptions = githubOptions; _logger = logger; _gitHubClientFactory = gitHubClientFactory; _ensureLabels = new Lazy <Task>(EnsureLabelsAsync); }
/// <summary> /// Construct a <see cref="GitHubManager"/> /// </summary> /// <param name="generalConfigurationOptions">The <see cref="IOptions{TOptions}"/> containing the value of <see cref="generalConfiguration"/></param> /// <param name="gitHubConfigurationOptions">The <see cref="IOptions{TOptions}"/> containing the value of <see cref="gitHubConfiguration"/></param> /// <param name="_databaseContext">The value of <see cref="databaseContext"/></param> /// <param name="_logger">The value of <see cref="logger"/></param> /// <param name="_gitHubClientFactory">The value of <see cref="gitHubClientFactory"/></param> public GitHubManager(IOptions <GeneralConfiguration> generalConfigurationOptions, IOptions <GitHubConfiguration> gitHubConfigurationOptions, IDatabaseContext _databaseContext, ILogger <GitHubManager> _logger, IGitHubClientFactory _gitHubClientFactory) { gitHubConfiguration = gitHubConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(gitHubConfigurationOptions)); generalConfiguration = generalConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(generalConfigurationOptions)); logger = _logger ?? throw new ArgumentNullException(nameof(_logger)); databaseContext = _databaseContext ?? throw new ArgumentNullException(nameof(_databaseContext)); gitHubClientFactory = _gitHubClientFactory ?? throw new ArgumentNullException(nameof(_gitHubClientFactory)); gitHubClient = gitHubClientFactory.CreateGitHubClient(gitHubConfiguration.PersonalAccessToken); semaphore = new SemaphoreSlim(1); }
protected PublishingJobProcessor(WorkerConfiguration configuration, IOwnerSettingsStore ownerSettingsStore, IRepoSettingsStore repoSettingsStore, IGitHubClientFactory gitHubClientFactory) { Configuration = configuration; OwnerSettingsStore = ownerSettingsStore; RepoSettingsStore = repoSettingsStore; GitHubClientFactory = gitHubClientFactory; }
public GetStaleImagesCommand( IDockerService dockerService, IHttpClientProvider httpClientFactory, ILoggerService loggerService, IGitHubClientFactory gitHubClientFactory) { this.dockerService = dockerService; this.loggerService = loggerService; this.gitHubClientFactory = gitHubClientFactory; this.httpClient = httpClientFactory.GetClient(); }
public GetStaleImagesCommand( IManifestToolService manifestToolService, IHttpClientProvider httpClientFactory, ILoggerService loggerService, IGitHubClientFactory gitHubClientFactory) { _manifestToolService = manifestToolService; _loggerService = loggerService; _gitHubClientFactory = gitHubClientFactory; _httpClient = httpClientFactory.GetClient(); }
public UpdateService( IDownloader fileDownloader, IFileManager fileManager, IProcessManager processManager, ILogger logger, IGitHubClientFactory clientFactory) { client = clientFactory.CreateClient(); this.fileDownloader = fileDownloader; this.fileManager = fileManager; this.processManager = processManager; this.logger = logger; }
public GitHubService( IGitHubClientFactory gitHubClientFactory) { _gitHubClientFactory = gitHubClientFactory; }