From 43b65ca46ce3a1abd4609c951c126bc1bacc5523 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 25 Jan 2016 09:25:27 -0800 Subject: [PATCH] Update the documentation for IViewComponentHelper.InvokeAsync Fixes #3974 --- .../IViewComponentHelper.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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);