1 implementation of IRazorViewEngine
Microsoft.AspNetCore.Mvc.Razor (1)
RazorViewEngine.cs (1)
26public partial class RazorViewEngine : IRazorViewEngine
52 references to IRazorViewEngine
Microsoft.AspNetCore.Mvc.Razor (9)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (1)
131services.TryAddSingleton<IRazorViewEngine, RazorViewEngine>();
DependencyInjection\MvcRazorMvcViewOptionsSetup.cs (3)
15private readonly IRazorViewEngine _razorViewEngine; 20/// <param name="razorViewEngine">The <see cref="IRazorViewEngine"/>.</param> 21public MvcRazorMvcViewOptionsSetup(IRazorViewEngine razorViewEngine)
RazorHotReload.cs (1)
21IRazorViewEngine razorViewEngine,
RazorView.cs (3)
21private readonly IRazorViewEngine _viewEngine; 30/// <param name="viewEngine">The <see cref="IRazorViewEngine"/> used to locate Layout pages.</param> 38IRazorViewEngine viewEngine,
RazorViewEngine.cs (1)
18/// Default implementation of <see cref="IRazorViewEngine"/>.
Microsoft.AspNetCore.Mvc.Razor.Test (38)
RazorHotReloadTest.cs (1)
38var viewEngine = Assert.IsType<RazorViewEngine>(serviceProvider.GetRequiredService<IRazorViewEngine>());
RazorViewTest.cs (37)
39Mock.Of<IRazorViewEngine>(), 69Mock.Of<IRazorViewEngine>(), 112Mock.Of<IRazorViewEngine>(), 180var viewEngine = new Mock<IRazorViewEngine>(); 215Mock.Of<IRazorViewEngine>(), 258var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 289Mock.Of<IRazorViewEngine>(), 315Mock.Of<IRazorViewEngine>(), 344Mock.Of<IRazorViewEngine>(), 391var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 438var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 489var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 529var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 572var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 617var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 689var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 731var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 795var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 858var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 927var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 996var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1034var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1099var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1173var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1214var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1262var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1338var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1396var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1451var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1491Mock.Of<IRazorViewEngine>(), 1531var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1574var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1632var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1677var viewEngine = new Mock<IRazorViewEngine>(MockBehavior.Strict); 1725var viewEngine = Mock.Of<IRazorViewEngine>(); 1758var viewEngine = new Mock<IRazorViewEngine>();
Microsoft.AspNetCore.Mvc.RazorPages (3)
Infrastructure\PageResultExecutor.cs (3)
19private readonly IRazorViewEngine _razorViewEngine; 29/// <param name="razorViewEngine">The <see cref="IRazorViewEngine"/>.</param> 36IRazorViewEngine razorViewEngine,
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionInvokerTest.cs (1)
1685Mock.Of<IRazorViewEngine>(),
Microsoft.AspNetCore.Mvc.Test (1)
MvcServiceCollectionExtensionsTest.cs (1)
252Assert.Contains(services, s => s.ServiceType == typeof(IRazorViewEngine));