13 references to RazorComponentsServiceOptions
Microsoft.AspNetCore.Components.Endpoints (13)
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)
42private readonly RazorComponentsServiceOptions _options; 61_options = serviceProvider.GetRequiredService<IOptions<RazorComponentsServiceOptions>>().Value;
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
210var options = httpContext.RequestServices.GetRequiredService<IOptions<RazorComponentsServiceOptions>>();
TempData\CookieTempDataProvider.cs (2)
23private readonly RazorComponentsServiceOptions _options; 29IOptions<RazorComponentsServiceOptions> options,
TempData\TempDataProviderServiceCollectionExtensions.cs (1)
22var options = serviceProvider.GetRequiredService<IOptions<RazorComponentsServiceOptions>>();