7 references to PostConfigureOptions
BlazorHosted.ClientServiceDefaults (1)
Extensions.cs (1)
74
return new
PostConfigureOptions
<OtlpExporterOptions>(null, o =>
BlazorStandalone.ClientServiceDefaults (1)
Extensions.cs (1)
74
return new
PostConfigureOptions
<OtlpExporterOptions>(null, o =>
Microsoft.Extensions.Options (2)
OptionsBuilder.cs (1)
204
Services.AddSingleton<IPostConfigureOptions<TOptions>>(new
PostConfigureOptions
<TOptions>(Name, configureOptions));
OptionsServiceCollectionExtensions.cs (1)
145
services.AddSingleton<IPostConfigureOptions<TOptions>>(new
PostConfigureOptions
<TOptions>(name, configureOptions));
Microsoft.Extensions.Options.Contextual.Tests (3)
ContextualOptionsFactoryTests.cs (3)
73
new[] { new
PostConfigureOptions
<List<string>>(string.Empty, (list) => list.Add("post configure")) },
127
new[] { new
PostConfigureOptions
<List<string>>(null, (list) => list.Add("post configure")) },
140
new[] { new
PostConfigureOptions
<List<string>>("Foo", (list) => list.Add("post configure")) },