1 implementation of ICompositeViewEngine
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewEngines\CompositeViewEngine.cs (1)
13public class CompositeViewEngine : ICompositeViewEngine
123 references to ICompositeViewEngine
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageResultExecutor.cs (2)
28/// <param name="compositeViewEngine">The <see cref="ICompositeViewEngine"/>.</param> 35ICompositeViewEngine compositeViewEngine,
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionInvokerTest.cs (1)
1684Mock.Of<ICompositeViewEngine>(),
Microsoft.AspNetCore.Mvc.TagHelpers (3)
PartialTagHelper.cs (3)
29private readonly ICompositeViewEngine _viewEngine; 35/// <param name="viewEngine">The <see cref="ICompositeViewEngine"/> used to locate the partial view.</param> 38ICompositeViewEngine viewEngine,
Microsoft.AspNetCore.Mvc.TagHelpers.Test (22)
PartialTagHelperTest.cs (22)
25var tagHelper = new PartialTagHelper(Mock.Of<ICompositeViewEngine>(), Mock.Of<IViewBufferScope>()) 46var tagHelper = new PartialTagHelper(Mock.Of<ICompositeViewEngine>(), Mock.Of<IViewBufferScope>()) 73var tagHelper = new PartialTagHelper(Mock.Of<ICompositeViewEngine>(), Mock.Of<IViewBufferScope>()) 92var tagHelper = new PartialTagHelper(Mock.Of<ICompositeViewEngine>(), Mock.Of<IViewBufferScope>()) 114var tagHelper = new PartialTagHelper(Mock.Of<ICompositeViewEngine>(), Mock.Of<IViewBufferScope>()) 136var tagHelper = new PartialTagHelper(Mock.Of<ICompositeViewEngine>(), Mock.Of<IViewBufferScope>()) 166var viewEngine = new Mock<ICompositeViewEngine>(); 204var viewEngine = new Mock<ICompositeViewEngine>(); 245var viewEngine = new Mock<ICompositeViewEngine>(); 289var viewEngine = new Mock<ICompositeViewEngine>(); 338var viewEngine = new Mock<ICompositeViewEngine>(); 384var viewEngine = new Mock<ICompositeViewEngine>(); 431var viewEngine = new Mock<ICompositeViewEngine>(); 471var viewEngine = new Mock<ICompositeViewEngine>(); 511var viewEngine = new Mock<ICompositeViewEngine>(); 546var viewEngine = new Mock<ICompositeViewEngine>(); 582var viewEngine = new Mock<ICompositeViewEngine>(); 623var viewEngine = new Mock<ICompositeViewEngine>(); 673var viewEngine = new Mock<ICompositeViewEngine>(); 719var viewEngine = new Mock<ICompositeViewEngine>(); 767var viewEngine = new Mock<ICompositeViewEngine>(); 811var viewEngine = new Mock<ICompositeViewEngine>();
Microsoft.AspNetCore.Mvc.ViewFeatures (28)
DefaultDisplayTemplates.cs (4)
108var viewEngine = serviceProvider.GetRequiredService<ICompositeViewEngine>(); 209var viewEngine = serviceProvider.GetRequiredService<ICompositeViewEngine>();
DefaultEditorTemplates.cs (4)
90var viewEngine = serviceProvider.GetRequiredService<ICompositeViewEngine>(); 251var viewEngine = serviceProvider.GetRequiredService<ICompositeViewEngine>();
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
144services.TryAddSingleton<ICompositeViewEngine, CompositeViewEngine>();
HtmlHelper.cs (2)
52private readonly ICompositeViewEngine _viewEngine; 63ICompositeViewEngine viewEngine,
HtmlHelperOfT.cs (1)
27ICompositeViewEngine viewEngine,
PartialViewResult.cs (1)
50/// <remarks>When <c>null</c>, an instance of <see cref="ICompositeViewEngine"/> from
PartialViewResultExecutor.cs (2)
30/// <param name="viewEngine">The <see cref="ICompositeViewEngine"/>.</param> 38ICompositeViewEngine viewEngine,
ViewComponent.cs (4)
29private ICompositeViewEngine? _viewEngine; 142/// Gets or sets the <see cref="ICompositeViewEngine"/>. 144public ICompositeViewEngine ViewEngine 152_viewEngine = services?.GetRequiredService<ICompositeViewEngine>();
ViewComponents\ViewViewComponentResult.cs (1)
131return context.ViewContext.HttpContext.RequestServices.GetRequiredService<ICompositeViewEngine>();
ViewEngines\ICompositeViewEngine.cs (1)
14/// Gets the list of <see cref="IViewEngine"/> this instance of <see cref="ICompositeViewEngine"/> delegates
ViewExecutor.cs (4)
34/// <param name="viewEngine">The <see cref="ICompositeViewEngine"/>.</param> 41ICompositeViewEngine viewEngine, 60/// <param name="viewEngine">The <see cref="ICompositeViewEngine"/>.</param> 64ICompositeViewEngine viewEngine,
ViewResult.cs (1)
50/// <remarks>When <c>null</c>, an instance of <see cref="ICompositeViewEngine"/> from
ViewResultExecutor.cs (2)
30/// <param name="viewEngine">The <see cref="ICompositeViewEngine"/>.</param> 38ICompositeViewEngine viewEngine,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (67)
DefaultDisplayTemplatesTest.cs (7)
124var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 259var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 281var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 303var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 326var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 355var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 374var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);
DefaultEditorTemplatesTest.cs (19)
354var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 572var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 605var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 637var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 680var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 722var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 765var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 806var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 844var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 910var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 981var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 1051var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 1120var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 1186var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 1223var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 1247var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 1272var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 1303var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 1322var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);
PartialViewResultExecutorTest.cs (1)
29var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);
Rendering\DefaultTemplatesUtilities.cs (7)
161ICompositeViewEngine viewEngine, 174ICompositeViewEngine viewEngine, 189ICompositeViewEngine viewEngine, 199ICompositeViewEngine viewEngine, 221ICompositeViewEngine viewEngine, 303private static ICompositeViewEngine CreateViewEngine() 315var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);
Rendering\HtmlHelperDisplayExtensionsTest.cs (17)
23var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 54var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 75var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 137var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 163var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 189var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 217var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 245var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 266var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 292var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 323var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 364var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 389var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 417var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 438var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 464var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 491var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);
Rendering\HtmlHelperEditorExtensionsTest.cs (2)
21var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 47var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);
Rendering\HtmlHelperPartialExtensionsTest.cs (6)
406var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 435var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 466var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 495var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 524var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 555var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);
Rendering\HtmlHelperSelectTest.cs (1)
1575new Mock<ICompositeViewEngine>(MockBehavior.Strict).Object,
ViewComponents\ViewViewComponentResultTest.cs (5)
339var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 350serviceProvider.Setup(p => p.GetService(typeof(ICompositeViewEngine))) 422var expected = $"No service for type '{typeof(ICompositeViewEngine).FullName}'" + 458var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict); 482var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);
ViewExecutorTest.cs (1)
400new Mock<ICompositeViewEngine>(MockBehavior.Strict).Object,
ViewResultExecutorTest.cs (1)
28var viewEngine = new Mock<ICompositeViewEngine>(MockBehavior.Strict);