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