4 references to ConfigureNamedOptions
Microsoft.Extensions.Http (1)
DependencyInjection\HttpClientBuilderExtensions.cs (1)
55
return new
ConfigureNamedOptions
<HttpClientFactoryOptions>(builder.Name, (options) =>
Microsoft.Extensions.Options (2)
OptionsBuilder.cs (1)
52
Services.AddSingleton<IConfigureOptions<TOptions>>(new
ConfigureNamedOptions
<TOptions>(Name, configureOptions));
OptionsServiceCollectionExtensions.cs (1)
102
services.AddSingleton<IConfigureOptions<TOptions>>(new
ConfigureNamedOptions
<TOptions>(name, configureOptions));
Microsoft.Extensions.Options.ConfigurationExtensions (1)
NamedConfigureFromConfigurationOptions.cs (1)
38
:
base
(name, options => config.Bind(options, configureBinder))