public Client(string authorizationHeader, IConfigProvider configProvider, ClientConfiguration.ClientAdapter clientadapter = ClientConfiguration.ClientAdapter.Proxy) { _configProvider = configProvider; _client = ClientAdapterFactory.GetInstance <T>(authorizationHeader, configProvider, clientadapter); }
public Client(string authorizationHeader, IValidator <T> validator, ClientConfiguration.ClientAdapter clientadapter = ClientConfiguration.ClientAdapter.Proxy) { _client = ClientAdapterFactory.GetInstance <T>(authorizationHeader, validator, clientadapter); _configProvider = null; }