protected GetARideServiceBaseGateway(IHttpMessageHandlerFactory httpMessageHandlerFactory, GatewayConfiguration gatewayConfiguration) { var httpMessageHandler = httpMessageHandlerFactory.CreateHttpMessageHandler(); HttpClient = new HttpClient(httpMessageHandler); AuthenticationUrl = gatewayConfiguration.AuthenticationUrl; ApiUrl = gatewayConfiguration.ApiUrl; ClientId = gatewayConfiguration.ClientID; ClientSecret = gatewayConfiguration.ClientSecret; }
protected GeolocatorBase(IHttpMessageHandlerFactory httpMessageHandlerFactory) { var httpMessageHander = httpMessageHandlerFactory.CreateHttpMessageHandler(); _httpClient = new HttpClient(httpMessageHander); }
protected RideSharingBase(IHttpMessageHandlerFactory httpMessageHandlerFactory) { var httpMessageHandler = httpMessageHandlerFactory.CreateHttpMessageHandler(); _httpClient = new HttpClient(httpMessageHandler); }