public SonarConnector(SonarSettings sonarSettings, ICacheManager cacheManager, IHttpApiClient httpApiClient, ILoggingService loggingService) { _cacheManager = cacheManager; _httpApiClient = httpApiClient; _sonarSettings = sonarSettings; _loggingService = loggingService; }
public TfsConnector(TfsSettings tfsSettings, ICacheManager cacheManager, IHttpApiClient httpApiClient) { _httpApiClient = httpApiClient; _cacheManager = cacheManager; _changesets = new ChangesetsConnector(tfsSettings, _httpApiClient); _vcc = new VersionControlConnector(tfsSettings, _httpApiClient); _wit = new WorkItemConnector(tfsSettings, _httpApiClient); }
private bool IsHttpApiConfigEquals(IHttpApiClient x, IHttpApiClient y) { var xInterceptor = x.ApiInterceptor as ApiInterceptor; var yInterceptor = y.ApiInterceptor as ApiInterceptor; return(xInterceptor.HttpApiConfig == yInterceptor.HttpApiConfig && xInterceptor.HttpApiConfig.HttpClient == yInterceptor.HttpApiConfig.HttpClient); }
public ApiBase(IHttpApiClient client, string controllerName) { if (client == null) { throw new ArgumentNullException(nameof(client)); } Client = client; _authenticationManager = null; _uri = controllerName; _fullUri = string.Format("{0}/{1}", Client.Client.BaseAddress, _uri); }
public HttpApi(IBitmovinApiClientFactory apiClientFactory) { _apiClient = apiClientFactory.CreateClient <IHttpApiClient>(); Customdata = new CustomdataApi(apiClientFactory); }
public ChangesetsConnector(TfsSettings tfsSettings, IHttpApiClient httpApiClient) : base(tfsSettings, httpApiClient) { }
public BingBotService(ILogger <BingBotService> logger, IOptions <SearchSettings> options, IHttpApiClient httpApiClient) : base(logger, httpApiClient) { _searchSettings = options.Value; }
public CultureManager(IHttpApiClient client, IDictionaryServiceAgent dictionaryServiceAgent, ILoggingService loggingService) { _client = client; _dictionaryServiceAgent = dictionaryServiceAgent; _loggingService = loggingService; }
public GraphQLApiClient(HttpClient httpClient, string baseUri) { this.client = new HttpApiClient(httpClient, baseUri); }
public GraphQLApiClient(string baseUri) { this.client = new HttpApiClient(baseUri); }
public VersionControlConnector(TfsSettings tfsSettings, IHttpApiClient httpApiClient) : base(tfsSettings, httpApiClient) { }
public ApiBase(IHttpApiClient client, string controllerName, IAuthenticationManager authenticationManager) : this(client, controllerName) { _authenticationManager = authenticationManager; }
private string server = "http://localhost:10001"; // "172.17.0.3:30209"; public ChargeRepositoryServiceApiClient(IHttpApiClient client) { this.client = client; }
public BaseConnector(TfsSettings TfsSettings, IHttpApiClient httpApiClient) { tfsSettings = TfsSettings; _httpApiClient = httpApiClient; }