3 implementations of FindView
Microsoft.AspNetCore.Mvc.Razor (1)
RazorViewEngine.cs (1)
154
public ViewEngineResult
FindView
(ActionContext context, string viewName, bool isMainPage)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewEngines\CompositeViewEngine.cs (1)
28
public ViewEngineResult
FindView
(ActionContext context, string viewName, bool isMainPage)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewEngines\CompositeViewEngineTest.cs (1)
440
public ViewEngineResult
FindView
(ActionContext context, string viewName, bool isMainPage)
116 references to FindView
Microsoft.AspNetCore.Mvc.Razor (1)
IRazorViewEngine.cs (1)
23
/// <seealso cref="IViewEngine.
FindView
"/>.
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
186
viewEngineResult = _viewEngine.
FindView
(ViewContext, partialName, isMainPage: false);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (9)
PartialTagHelperTest.cs (9)
208
viewEngine.Setup(v => v.
FindView
(viewContext, partialName, false))
249
viewEngine.Setup(v => v.
FindView
(viewContext, partialName, false))
586
viewEngine.Setup(v => v.
FindView
(viewContext, partialName, false))
626
viewEngine.Setup(v => v.
FindView
(viewContext, partialName, false))
723
viewEngine.Setup(v => v.
FindView
(viewContext, partialName, false))
729
viewEngine.Setup(v => v.
FindView
(viewContext, fallbackName, false))
770
viewEngine.Setup(v => v.
FindView
(viewContext, partialName, false))
814
viewEngine.Setup(v => v.
FindView
(viewContext, partialName, false))
818
viewEngine.Setup(v => v.
FindView
(viewContext, fallbackName, false))
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
HtmlHelper.cs (1)
519
viewEngineResult = _viewEngine.
FindView
(ViewContext, partialViewName, isMainPage: false);
PartialViewResultExecutor.cs (1)
75
result = viewEngine.
FindView
(actionContext, viewName, isMainPage: false);
TemplateRenderer.cs (1)
110
viewEngineResult = _viewEngine.
FindView
(_viewContext, fullViewName, isMainPage: false);
ViewComponents\ViewViewComponentResult.cs (1)
105
result = viewEngine.
FindView
(viewContext, qualifiedViewName, isMainPage: false);
ViewEngines\CompositeViewEngine.cs (1)
46
var result = ViewEngines[i].
FindView
(context, viewName, isMainPage);
ViewResultExecutor.cs (1)
76
result = viewEngine.
FindView
(actionContext, viewName, isMainPage: true);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (99)
DefaultDisplayTemplatesTest.cs (7)
129
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
264
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
286
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
308
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
331
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
360
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
379
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/String", /*isMainPage*/ false))
DefaultEditorTemplatesTest.cs (19)
359
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
577
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
610
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
642
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
685
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
727
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
770
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
811
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
849
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
915
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
986
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
1056
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
1125
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
1191
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
1228
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
1252
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
1277
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
1308
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
1327
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "EditorTemplates/String", /*isMainPage*/ false))
PartialViewResultExecutorTest.cs (6)
35
.Setup(e => e.
FindView
(context, viewName, /*isMainPage*/ false))
115
.Setup(e => e.
FindView
(context, "myview", /*isMainPage*/ false))
150
.Setup(e => e.
FindView
(context, "myview", /*isMainPage*/ false))
185
.Setup(e => e.
FindView
(context, "myview", /*isMainPage*/ false))
256
.Setup(e => e.
FindView
(context, "myview", /*isMainPage*/ false))
354
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
PartialViewResultTest.cs (4)
79
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
117
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
157
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
206
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
Rendering\DefaultTemplatesUtilities.cs (1)
321
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
Rendering\HtmlHelperDisplayExtensionsTest.cs (17)
28
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
59
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
80
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
142
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/Status", /*isMainPage*/ false))
168
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/Status", /*isMainPage*/ false))
194
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
222
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
250
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
271
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
297
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
328
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/Status", /*isMainPage*/ false))
369
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/Status", /*isMainPage*/ false))
394
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
422
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
443
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
469
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
496
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "DisplayTemplates/SomeTemplate", /*isMainPage*/ false))
Rendering\HtmlHelperEditorExtensionsTest.cs (2)
26
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "EditorTemplates/Status", /*isMainPage*/ false))
52
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "EditorTemplates/Status", /*isMainPage*/ false))
Rendering\HtmlHelperPartialExtensionsTest.cs (6)
412
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
441
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
472
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
501
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
530
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
561
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ false))
ViewComponents\ViewViewComponentResultTest.cs (11)
40
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/some-view", /*isMainPage*/ false))
75
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/Default", /*isMainPage*/ false))
109
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/Default", /*isMainPage*/ false))
158
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/some-view", /*isMainPage*/ false))
196
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/some-view", /*isMainPage*/ false))
236
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/some-view", /*isMainPage*/ false))
274
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/some-view", /*isMainPage*/ false))
310
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/some-view", /*isMainPage*/ false))
345
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/some-view", /*isMainPage*/ false))
394
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), "Components/Invoke/some-view", /*isMainPage*/ false))
460
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), expectedViewName, /*isMainPage*/ false))
ViewEngines\CompositeViewEngineTest.cs (16)
56
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
78
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
103
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
106
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
109
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
136
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
139
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
142
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
323
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
345
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
370
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
373
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
376
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
403
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
406
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
409
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ false))
ViewResultExecutorTest.cs (6)
34
.Setup(e => e.
FindView
(context, viewName, /*isMainPage*/ true))
113
.Setup(e => e.
FindView
(context, "myview", /*isMainPage*/ true))
147
.Setup(e => e.
FindView
(context, "myview", /*isMainPage*/ true))
181
.Setup(e => e.
FindView
(context, "myview", /*isMainPage*/ true))
251
.Setup(e => e.
FindView
(context, "myview", /*isMainPage*/ true))
344
.Setup(e => e.
FindView
(It.IsAny<ActionContext>(), It.IsAny<string>(), /*isMainPage*/ true))
ViewResultTest.cs (4)
89
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
129
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
169
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))
218
.Setup(v => v.
FindView
(It.IsAny<ActionContext>(), viewName, /*isMainPage*/ true))