4 instantiations of ContentViewComponentResult
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewComponent.cs (1)
174return new ContentViewComponentResult(content);
ViewComponents\DefaultViewComponentInvoker.cs (1)
184return new ContentViewComponentResult(stringResult);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewComponents\ContentViewComponentResultTest.cs (1)
25var result = new ContentViewComponentResult("<Test />");
TagHelpersWebSite (1)
TagHelpers\TagCloudViewComponentTagHelper.cs (1)
71return new ContentViewComponentResult(string.Join(",", tags));
7 references to ContentViewComponentResult
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
ViewComponent.cs (2)
169/// <returns>A <see cref="ContentViewComponentResult"/>.</returns> 170public ContentViewComponentResult Content(string content)
ViewComponents\ContentViewComponentResult.cs (1)
18/// Initializes a new <see cref="ContentViewComponentResult"/>.
ViewComponents\HtmlContentViewComponentResult.cs (1)
15/// text, use a <see cref="ContentViewComponentResult"/>.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
ViewComponents\ContentViewComponentResultTest.cs (1)
25var result = new ContentViewComponentResult("<Test />");
ViewComponentTests.cs (2)
58var actualResult = viewComponent.Content(expectedContent); 61Assert.IsType<ContentViewComponentResult>(actualResult);