6 instantiations of MvcRazorRuntimeCompilationOptions
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (6)
FileProviderRazorProjectFileSystemTest.cs (1)
246var options = Options.Create(new MvcRazorRuntimeCompilationOptions
RazorReferenceManagerTest.cs (1)
18var options = new MvcRazorRuntimeCompilationOptions();
RuntimeCompilationFileProviderTest.cs (1)
19var options = Options.Create(new MvcRazorRuntimeCompilationOptions());
RuntimeViewCompilerTest.cs (2)
827var options = Options.Create(new MvcRazorRuntimeCompilationOptions 858return new RazorReferenceManager(applicationPartManager, Options.Create(new MvcRazorRuntimeCompilationOptions()));
TestInfrastructure\TestRazorReferenceManager.cs (1)
15Options.Create(new MvcRazorRuntimeCompilationOptions()))
23 references to MvcRazorRuntimeCompilationOptions
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
ErrorPageTests.cs (2)
53factory = factory.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => serviceCollection.Configure<MvcRazorRuntimeCompilationOptions>(ConfigureRuntimeCompilationOptions))); 73static void ConfigureRuntimeCompilationOptions(MvcRazorRuntimeCompilationOptions options)
RazorBuildTest.cs (2)
29.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => serviceCollection.Configure<MvcRazorRuntimeCompilationOptions>(ConfigureRuntimeCompilationOptions))); 31static void ConfigureRuntimeCompilationOptions(MvcRazorRuntimeCompilationOptions options)
RazorRuntimeCompilationHostingStartupTest.cs (2)
26.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => serviceCollection.Configure<MvcRazorRuntimeCompilationOptions>(ConfigureRuntimeCompilationOptions))); 28static void ConfigureRuntimeCompilationOptions(MvcRazorRuntimeCompilationOptions options)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (14)
DependencyInjection\MvcRazorRuntimeCompilationOptionsSetup.cs (2)
9internal sealed class MvcRazorRuntimeCompilationOptionsSetup : IConfigureOptions<MvcRazorRuntimeCompilationOptions> 18public void Configure(MvcRazorRuntimeCompilationOptions options)
DependencyInjection\RazorRuntimeCompilationMvcBuilderExtensions.cs (2)
30/// <param name="setupAction">An action to configure the <see cref="MvcRazorRuntimeCompilationOptions"/>.</param> 32public static IMvcBuilder AddRazorRuntimeCompilation(this IMvcBuilder builder, Action<MvcRazorRuntimeCompilationOptions> setupAction)
DependencyInjection\RazorRuntimeCompilationMvcCoreBuilderExtensions.cs (3)
42/// <param name="setupAction">An action to configure the <see cref="MvcRazorRuntimeCompilationOptions"/>.</param> 44public static IMvcCoreBuilder AddRazorRuntimeCompilation(this IMvcCoreBuilder builder, Action<MvcRazorRuntimeCompilationOptions> setupAction) 58ServiceDescriptor.Transient<IConfigureOptions<MvcRazorRuntimeCompilationOptions>, MvcRazorRuntimeCompilationOptionsSetup>());
RazorReferenceManager.cs (2)
17private readonly MvcRazorRuntimeCompilationOptions _options; 24IOptions<MvcRazorRuntimeCompilationOptions> options)
RuntimeCompilationFileProvider.cs (5)
11private readonly MvcRazorRuntimeCompilationOptions _options; 14public RuntimeCompilationFileProvider(IOptions<MvcRazorRuntimeCompilationOptions> options) 34private static IFileProvider GetCompositeFileProvider(MvcRazorRuntimeCompilationOptions options) 40typeof(MvcRazorRuntimeCompilationOptions).FullName, 41nameof(MvcRazorRuntimeCompilationOptions.FileProviders),
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
RazorReferenceManagerTest.cs (1)
18var options = new MvcRazorRuntimeCompilationOptions();
RuntimeCompilationFileProviderTest.cs (2)
16$"'{typeof(MvcRazorRuntimeCompilationOptions).FullName}.{nameof(MvcRazorRuntimeCompilationOptions.FileProviders)}' must " +