2 implementations of IViewCompiler
Microsoft.AspNetCore.Mvc.Razor (1)
Compilation\DefaultViewCompiler.cs (1)
18
internal partial class DefaultViewCompiler :
IViewCompiler
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompiler.cs (1)
23
internal partial class RuntimeViewCompiler :
IViewCompiler
15 references to IViewCompiler
Microsoft.AspNetCore.Mvc.Razor (5)
Compilation\DefaultRazorPageFactoryProvider.cs (1)
25
private
IViewCompiler
Compiler => _viewCompilerProvider.GetCompiler();
Compilation\DefaultViewCompilerProvider.cs (1)
23
public
IViewCompiler
GetCompiler() => _compiler;
Compilation\IViewCompilerProvider.cs (3)
7
/// Provides a <see cref="
IViewCompiler
"/>.
12
/// Gets a <see cref="
IViewCompiler
"/>.
15
IViewCompiler
GetCompiler();
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (4)
RuntimeViewCompilerProvider.cs (4)
18
private readonly Func<
IViewCompiler
> _createCompiler;
22
private
IViewCompiler
? _compiler;
40
public
IViewCompiler
GetCompiler()
49
private
IViewCompiler
CreateCompiler()
Microsoft.AspNetCore.Mvc.Razor.Test (4)
Compilation\DefaultRazorPageFactoryProviderTest.cs (4)
27
var compilerCache = new Mock<
IViewCompiler
>();
58
var compilerCache = new Mock<
IViewCompiler
>();
84
var viewCompiler = new Mock<
IViewCompiler
>();
100
private IViewCompilerProvider GetCompilerProvider(
IViewCompiler
cache)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DefaultPageLoader.cs (1)
32
private
IViewCompiler
Compiler => _viewCompilerProvider.GetCompiler();
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\DefaultPageLoaderTest.cs (1)
359
var compiler = new Mock<
IViewCompiler
>();