37 references to MvcViewOptions
Microsoft.AspNetCore.Mvc.Razor (5)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (1)
126ServiceDescriptor.Transient<IConfigureOptions<MvcViewOptions>, MvcRazorMvcViewOptionsSetup>());
DependencyInjection\MvcRazorMvcViewOptionsSetup.cs (4)
11/// Configures <see cref="MvcViewOptions"/> to use <see cref="RazorViewEngine"/>. 13internal sealed class MvcRazorMvcViewOptionsSetup : IConfigureOptions<MvcViewOptions> 31/// <param name="options">The <see cref="MvcViewOptions"/> to configure.</param> 32public void Configure(MvcViewOptions options)
Microsoft.AspNetCore.Mvc.RazorPages (5)
Infrastructure\PageActionInvokerProvider.cs (2)
23private readonly MvcViewOptions _mvcViewOptions; 38IOptions<MvcViewOptions> mvcViewOptions,
Infrastructure\PageRequestDelegateFactory.cs (3)
24private readonly MvcViewOptions _mvcViewOptions; 39IOptions<MvcViewOptions> mvcViewOptions, 53IOptions<MvcViewOptions> mvcViewOptions,
Microsoft.AspNetCore.Mvc.ViewFeatures (27)
DefaultHtmlGenerator.cs (2)
50/// <param name="optionsAccessor">The accessor for <see cref="MvcViewOptions"/>.</param> 57IOptions<MvcViewOptions> optionsAccessor,
DefaultValidationHtmlAttributeProvider.cs (2)
23/// <param name="optionsAccessor">The accessor for <see cref="MvcViewOptions"/>.</param> 28IOptions<MvcViewOptions> optionsAccessor,
DependencyInjection\MvcViewFeaturesMvcBuilderExtensions.cs (3)
18/// Adds configuration of <see cref="MvcViewOptions"/> for the application. 22/// An <see cref="Action{MvcViewOptions}"/> to configure the provided <see cref="MvcViewOptions"/>. 27Action<MvcViewOptions> setupAction)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (5)
74/// <param name="setupAction">The setup action for <see cref="MvcViewOptions"/>.</param> 78Action<MvcViewOptions> setupAction) 113/// Configures <see cref="MvcViewOptions"/>. 120Action<MvcViewOptions> setupAction) 137ServiceDescriptor.Transient<IConfigureOptions<MvcViewOptions>, MvcViewOptionsSetup>());
DependencyInjection\MvcViewOptionsSetup.cs (3)
12/// Sets up default options for <see cref="MvcViewOptions"/>. 14internal sealed class MvcViewOptionsSetup : IConfigureOptions<MvcViewOptions> 42public void Configure(MvcViewOptions options)
PartialViewResultExecutor.cs (1)
36IOptions<MvcViewOptions> viewOptions,
ViewComponentResultExecutor.cs (1)
45IOptions<MvcViewOptions> mvcHelperOptions,
ViewEngines\CompositeViewEngine.cs (6)
18/// <param name="optionsAccessor">The options accessor for <see cref="MvcViewOptions"/>.</param> 19public CompositeViewEngine(IOptions<MvcViewOptions> optionsAccessor) 36typeof(MvcViewOptions).FullName, 37nameof(MvcViewOptions.ViewEngines), 85typeof(MvcViewOptions).FullName, 86nameof(MvcViewOptions.ViewEngines),
ViewExecutor.cs (3)
39IOptions<MvcViewOptions> viewOptions, 92/// Gets the <see cref="MvcViewOptions"/>. 94protected MvcViewOptions? ViewOptions { get; }
ViewResultExecutor.cs (1)
36IOptions<MvcViewOptions> viewOptions,