diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentHelper.cs index 8ed273fac2..0b8bba5e98 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/IViewComponentHelper.cs @@ -16,7 +16,10 @@ namespace Microsoft.AspNetCore.Mvc /// Invokes a view component with the specified . /// /// The name of the view component. - /// Arguments to be passed to the invoked view component method. + /// + /// An containing arguments to be passed to the invoked view component method. + /// Alternatively, an instance containing the invocation arguments. + /// /// A that on completion returns the rendered . /// Task InvokeAsync(string name, object arguments); @@ -25,7 +28,10 @@ namespace Microsoft.AspNetCore.Mvc /// Invokes a view component of type . /// /// The view component . - /// Arguments to be passed to the invoked view component method. + /// + /// An containing arguments to be passed to the invoked view component method. + /// Alternatively, an instance containing the invocation arguments. + /// /// A that on completion returns the rendered . /// Task InvokeAsync(Type componentType, object arguments);