1 implementation of InvokeAsync
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponents\DefaultViewComponentHelper.cs (1)
85
public Task<IHtmlContent>
InvokeAsync
(Type componentType, object? arguments)
6 references to InvokeAsync
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
Rendering\ViewComponentHelperExtensions.cs (3)
40
return helper.
InvokeAsync
(componentType, arguments: null);
55
return helper.
InvokeAsync
(typeof(TComponent), arguments);
69
return helper.
InvokeAsync
(typeof(TComponent), arguments: null);
ViewComponentResultExecutor.cs (1)
158
return viewComponentHelper.
InvokeAsync
(result.ViewComponentType, result.Arguments);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ViewComponentResultTest.cs (2)
410
var helper = Mock.Of<IViewComponentHelper>(h => h.
InvokeAsync
(It.IsAny<Type>(), It.IsAny<object>()) == result);
452
var helper = Mock.Of<IViewComponentHelper>(h => h.
InvokeAsync
(It.IsAny<Type>(), It.IsAny<object>()) == result);