2 implementations of PartialAsync
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
15 references to PartialAsync
Microsoft.AspNetCore.Mvc.ViewFeatures (8)
Rendering\HtmlHelperPartialExtensions.cs (8)
32return htmlHelper.PartialAsync(partialViewName, htmlHelper.ViewData.Model, viewData: null);
55return htmlHelper.PartialAsync(partialViewName, htmlHelper.ViewData.Model, viewData);
78return htmlHelper.PartialAsync(partialViewName, model, viewData: null);
93/// <see cref="IHtmlHelper.PartialAsync(string, object, ViewDataDictionary)"/>
113/// <see cref="IHtmlHelper.PartialAsync(string, object, ViewDataDictionary)"/>
136/// <see cref="IHtmlHelper.PartialAsync(string, object, ViewDataDictionary)"/>
157/// <see cref="IHtmlHelper.PartialAsync(string, object, ViewDataDictionary)"/>
168var result = htmlHelper.PartialAsync(partialViewName, model, viewData);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
Rendering\HtmlHelperPartialExtensionsTest.cs (7)
52.Setup(h => h.PartialAsync("test", expectedModel, expectedViewData))
74helper.Setup(h => h.PartialAsync("test", It.IsAny<object>(), It.IsAny<ViewDataDictionary>()))
126.Setup(h => h.PartialAsync("test", expectedModel, expectedViewData))
271helper.Setup(h => h.PartialAsync("test", model, null))
292helper.Setup(h => h.PartialAsync("test", model, null))
316helper.Setup(h => h.PartialAsync("test", model, passedInViewData))
338helper.Setup(h => h.PartialAsync("test", passedInModel, passedInViewData))