public RestOptions(HttpClientFactory <TContract> clientFactory, DefaultFormatterSelector defaultFormatterSelector, IEnumerable <IContentFormatter> additionalFormatters) : base(() => clientFactory(), defaultFormatterSelector, additionalFormatters) { }
public RestOptions(HttpClientFactory clientFactory, DefaultFormatterSelector defaultFormatterSelector, IEnumerable <IContentFormatter> formatters) { _clientFactory = clientFactory; _defaultFormatterSelector = defaultFormatterSelector; Formatters = formatters; }