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