コード例 #1
0
 public RestOptions(HttpClientFactory <TContract> clientFactory, DefaultFormatterSelector defaultFormatterSelector, IEnumerable <IContentFormatter> additionalFormatters)
     : base(() => clientFactory(), defaultFormatterSelector, additionalFormatters)
 {
 }
コード例 #2
0
ファイル: RestOptions.cs プロジェクト: bartlix/RestContract
 public RestOptions(HttpClientFactory clientFactory, DefaultFormatterSelector defaultFormatterSelector, IEnumerable <IContentFormatter> formatters)
 {
     _clientFactory            = clientFactory;
     _defaultFormatterSelector = defaultFormatterSelector;
     Formatters = formatters;
 }