1 instantiation of RazorComponentsServiceOptions
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
HttpContextFormValueMapperTest.cs (1)
40var mapper = new HttpContextFormValueMapper(formData, Options.Create<RazorComponentsServiceOptions>(new()));
11 references to RazorComponentsServiceOptions
Microsoft.AspNetCore.Components.Endpoints (10)
Builder\OpaqueRedirection.cs (1)
45var options = httpContext.RequestServices.GetRequiredService<IOptions<RazorComponentsServiceOptions>>();
DependencyInjection\DefaultRazorComponentsServiceOptionsConfiguration.cs (2)
18: IPostConfigureOptions<RazorComponentsServiceOptions> 22public void PostConfigure(string? name, RazorComponentsServiceOptions options)
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (3)
33/// <param name="configure">An <see cref="Action{RazorComponentOptions}"/> to configure the provided <see cref="RazorComponentsServiceOptions"/>.</param> 36public static IRazorComponentsBuilder AddRazorComponents(this IServiceCollection services, Action<RazorComponentsServiceOptions>? configure = null) 68ServiceDescriptor.Singleton<IPostConfigureOptions<RazorComponentsServiceOptions>, DefaultRazorComponentsServiceOptionsConfiguration>());
FormMapping\HttpContextFormValueMapper.cs (1)
25IOptions<RazorComponentsServiceOptions> options)
Rendering\EndpointHtmlRenderer.cs (2)
41private readonly RazorComponentsServiceOptions _options; 56_options = serviceProvider.GetRequiredService<IOptions<RazorComponentsServiceOptions>>().Value;
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
207var options = httpContext.RequestServices.GetRequiredService<IOptions<RazorComponentsServiceOptions>>();
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
HttpContextFormValueMapperTest.cs (1)
40var mapper = new HttpContextFormValueMapper(formData, Options.Create<RazorComponentsServiceOptions>(new()));