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