4 instantiations of RazorViewEngineOptions
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
CSharpCompilerTest.cs (2)
57var options = new RazorViewEngineOptions(); 75var options = new RazorViewEngineOptions();
Microsoft.AspNetCore.Mvc.Razor.Test (1)
RazorViewEngineTest.cs (1)
2068var options = new RazorViewEngineOptions();
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
DependencyInjection\RazorPagesRazorViewEngineOptionsSetupTest.cs (1)
186var options = new RazorViewEngineOptions();
38 references to RazorViewEngineOptions
Microsoft.AspNetCore.Mvc.Localization (1)
MvcLocalizationServices.cs (1)
35services.Configure<RazorViewEngineOptions>(
Microsoft.AspNetCore.Mvc.Localization.Test (2)
MvcLocalizationMvcBuilderExtensionsTest.cs (1)
65sd => sd.ServiceType == typeof(IConfigureOptions<RazorViewEngineOptions>));
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
65sd => sd.ServiceType == typeof(IConfigureOptions<RazorViewEngineOptions>));
Microsoft.AspNetCore.Mvc.Razor (14)
DependencyInjection\MvcRazorMvcBuilderExtensions.cs (3)
16/// Configures a set of <see cref="RazorViewEngineOptions"/> for the application. 19/// <param name="setupAction">An action to configure the <see cref="RazorViewEngineOptions"/>.</param> 23Action<RazorViewEngineOptions> setupAction)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (3)
45/// <param name="setupAction">A setup action that configures the <see cref="RazorViewEngineOptions"/>.</param> 49Action<RazorViewEngineOptions> setupAction) 129ServiceDescriptor.Transient<IConfigureOptions<RazorViewEngineOptions>, RazorViewEngineOptionsSetup>());
RazorViewEngine.cs (6)
22/// <see cref="RazorViewEngineOptions.ViewLocationFormats"/> 24/// <see cref="RazorViewEngineOptions.AreaViewLocationFormats"/>. 43private readonly RazorViewEngineOptions _options; 53IOptions<RazorViewEngineOptions> optionsAccessor, 62Resources.FormatViewLocationFormatsIsRequired(nameof(RazorViewEngineOptions.ViewLocationFormats)), 69Resources.FormatViewLocationFormatsIsRequired(nameof(RazorViewEngineOptions.AreaViewLocationFormats)),
RazorViewEngineOptionsSetup.cs (2)
8internal sealed class RazorViewEngineOptionsSetup : IConfigureOptions<RazorViewEngineOptions> 10public void Configure(RazorViewEngineOptions options)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
CSharpCompilerTest.cs (2)
57var options = new RazorViewEngineOptions(); 75var options = new RazorViewEngineOptions();
Microsoft.AspNetCore.Mvc.Razor.Test (6)
RazorViewEngineOptionsTest.cs (2)
34var accessor = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>(); 64var accessor = serviceProvider.GetRequiredService<IOptions<RazorViewEngineOptions>>();
RazorViewEngineTest.cs (4)
2060private static IOptions<RazorViewEngineOptions> GetOptionsAccessor( 2068var options = new RazorViewEngineOptions(); 2111var optionsAccessor = new Mock<IOptions<RazorViewEngineOptions>>(); 2156IOptions<RazorViewEngineOptions> optionsAccessor)
Microsoft.AspNetCore.Mvc.RazorPages (3)
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (1)
83ServiceDescriptor.Transient<IConfigureOptions<RazorViewEngineOptions>, RazorPagesRazorViewEngineOptionsSetup>());
DependencyInjection\RazorPagesRazorViewEngineOptionsSetup.cs (2)
12internal sealed class RazorPagesRazorViewEngineOptionsSetup : IConfigureOptions<RazorViewEngineOptions> 21public void Configure(RazorViewEngineOptions options)
Microsoft.AspNetCore.Mvc.RazorPages.Test (9)
DependencyInjection\RazorPagesRazorViewEngineOptionsSetupTest.cs (9)
27var viewEngineOptions = GetViewEngineOptions(); 50var viewEngineOptions = GetViewEngineOptions(); 75var viewEngineOptions = GetViewEngineOptions(); 103var viewEngineOptions = GetViewEngineOptions(); 129var viewEngineOptions = GetViewEngineOptions(); 156var viewEngineOptions = GetViewEngineOptions(); 171var viewEngineOptions = GetViewEngineOptions(); 183private static RazorViewEngineOptions GetViewEngineOptions() 186var options = new RazorViewEngineOptions();
Microsoft.AspNetCore.Mvc.Test (1)
MvcServiceCollectionExtensionsTest.cs (1)
511typeof(IConfigureOptions<RazorViewEngineOptions>),