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