public GitLabElasticService(IOptionsMonitor <GitLabConfig> gitLabConfig, IOptionsMonitor <ElasticConfig> elasticConfig, IGitLabService gitLabService, ILogger <GitLabElasticService> logger) { _gitLabConfig = gitLabConfig.CurrentValue; _elasticConfig = elasticConfig.CurrentValue; _gitLabService = gitLabService; _logger = logger; }
public GitLabHealthCheck(IGitLabService service) { if (service == null) { throw new ArgumentNullException(nameof(service)); } this.service = service; }
public void TearDown() { _gitLabService = Get <IGitLabService>(); if (string.IsNullOrEmpty(_result.Group.Id)) { var result = _gitLabService.DeleteGroup(_result.Group.Id); result.Wait(); } }
public ProjectsController(IGitLabService gitLabService, IMimeMappingService mimeMappingService) { _gitLabService = gitLabService; _mimeMappingService = mimeMappingService; }
public GetProjectByIdQuery(IGitLabService gitLabService) { _gitLabService = gitLabService; }
/// <summary> /// Контроллер для работы с данными из GitLab /// </summary> public GitLabController(IGitLabService gitLabService, IMapper mapper, IMemoryCache cache) { _gitLabService = gitLabService; _cache = cache; _mapper = mapper; }
public CreateGitLabGroupCommand(IGitLabService gitLabService) { _gitLabService = gitLabService; }
public void Setup() { Sut = Get <IGitLabService>(); }
/// <summary> /// Контроллер для работы с данными из GitLab /// </summary> public GitLabController(IGitLabService gitLabService, GitLabElasticService gitLabElasticService, IMapper mapper) { _gitLabService = gitLabService; _gitLabElasticService = gitLabElasticService; _mapper = mapper; }
public CreateGitLabProjectCommand(IGitLabService gitLabService) { _gitLabService = gitLabService; }