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