7 references to View
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewComponent.cs (2)
193
return
View
(viewName, ViewData.Model);
203
return
View
(viewName: null, model: model);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
ViewComponentTests.cs (3)
167
var actualResult = viewComponent.
View
<object>("CustomViewName", model: null);
186
var actualResult = viewComponent.
View
<string>("CustomViewName", model: null);
206
var actualResult = viewComponent.
View
("CustomViewName", model);
RazorWebSite (2)
Components\ComponentWithRelativePath.cs (1)
12
return
View
("../Shared/Components/ComponentWithRelativePath.cshtml", person);
Components\InheritingViewComponent.cs (1)
13
return
View
("/Views/InheritingInherits/_ViewComponent.cshtml", address);