61 references to Found
Microsoft.AspNetCore.Mvc.Razor (1)
RazorViewEngine.cs (1)
477
return ViewEngineResult.
Found
(viewName, view);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (14)
PartialTagHelperTest.cs (14)
168
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
209
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
250
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
291
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
340
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
386
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
433
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
473
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
513
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
548
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
675
.Returns(ViewEngineResult.
Found
(partialName, view.Object));
677
.Returns(ViewEngineResult.
Found
(fallbackName, fallbackView.Object));
773
.Returns(ViewEngineResult.
Found
(fallbackName, view.Object));
819
.Returns(ViewEngineResult.
Found
(fallbackName, view.Object));
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (46)
DefaultDisplayTemplatesTest.cs (2)
361
.Returns(ViewEngineResult.
Found
("test-view", view.Object));
380
.Returns(ViewEngineResult.
Found
(string.Empty, new Mock<IView>().Object))
DefaultEditorTemplatesTest.cs (2)
1309
.Returns(ViewEngineResult.
Found
("test-view", view.Object));
1328
.Returns(ViewEngineResult.
Found
(string.Empty, new Mock<IView>().Object))
PartialViewResultExecutorTest.cs (2)
36
.Returns(ViewEngineResult.
Found
(viewName, Mock.Of<IView>()))
356
(context, name, isMainPage) => ViewEngineResult.
Found
(name, Mock.Of<IView>()));
PartialViewResultTest.cs (1)
207
.Returns(ViewEngineResult.
Found
(viewName, view.Object))
Rendering\DefaultTemplatesUtilities.cs (1)
322
.Returns(ViewEngineResult.
Found
("MyView", view.Object))
Rendering\HtmlHelperDisplayExtensionsTest.cs (16)
60
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
81
.Returns(ViewEngineResult.
Found
("SomeView", Mock.Of<IView>()))
143
.Returns(ViewEngineResult.
Found
("Status", view.Object))
169
.Returns(ViewEngineResult.
Found
("Status", view.Object))
195
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
223
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
251
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
272
.Returns(ViewEngineResult.
Found
("SomeView", Mock.Of<IView>()))
298
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
329
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
370
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
395
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
423
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
444
.Returns(ViewEngineResult.
Found
("SomeView", Mock.Of<IView>()))
470
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
497
.Returns(ViewEngineResult.
Found
("SomeView", view.Object));
Rendering\HtmlHelperEditorExtensionsTest.cs (2)
27
.Returns(ViewEngineResult.
Found
("Status", view.Object))
53
.Returns(ViewEngineResult.
Found
("Status", view.Object))
ViewComponents\ViewViewComponentResultTest.cs (8)
41
.Returns(ViewEngineResult.
Found
("Components/Invoke/some-view", view.Object))
76
.Returns(ViewEngineResult.
Found
("Components/Invoke/Default", view.Object))
110
.Returns(ViewEngineResult.
Found
("Components/Invoke/Default", view.Object))
275
.Returns(ViewEngineResult.
Found
("Components/Invoke/some-view", view.Object))
311
.Returns(ViewEngineResult.
Found
("Components/Invoke/some-view", view))
346
.Returns(ViewEngineResult.
Found
("Components/Invoke/some-view", view))
461
.Returns(ViewEngineResult.
Found
(expectedViewName, new Mock<IView>().Object))
485
.Returns(ViewEngineResult.
Found
(viewName, new Mock<IView>().Object))
ViewEngines\CompositeViewEngineTest.cs (9)
79
.Returns(ViewEngineResult.
Found
(viewName, view));
107
.Returns(ViewEngineResult.
Found
(viewName, view2));
110
.Returns(ViewEngineResult.
Found
(viewName, view3));
214
.Returns(ViewEngineResult.
Found
(expectedViewName, view));
245
.Returns(ViewEngineResult.
Found
(expectedViewName, view2));
248
.Returns(ViewEngineResult.
Found
(expectedViewName, view3));
346
.Returns(ViewEngineResult.
Found
(viewName, view));
374
.Returns(ViewEngineResult.
Found
(viewName, view2));
377
.Returns(ViewEngineResult.
Found
(viewName, view3));
ViewResultExecutorTest.cs (2)
35
.Returns(ViewEngineResult.
Found
(viewName, Mock.Of<IView>()))
346
(context, name, partial) => ViewEngineResult.
Found
(name, Mock.Of<IView>()));
ViewResultTest.cs (1)
219
.Returns(ViewEngineResult.
Found
(viewName, view.Object))