IControllerArgumentBinder Interface¶
Provides a dictionary of action arguments.
- Namespace
Microsoft.AspNetCore.Mvc.Internal
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
public interface IControllerArgumentBinder
-
interface
Microsoft.AspNetCore.Mvc.Internal.
IControllerArgumentBinder
Methods¶
-
BindArgumentsAsync
(Microsoft.AspNetCore.Mvc.ControllerContext, System.Object, System.Collections.Generic.IDictionary<System.String, System.Object>)¶ Asyncronously binds a dictionary of the parameter-argument name-value pairs, which can be used to invoke the action. Also binds properties explicitly marked properties on the <em>controller</em>.
Arguments: - controllerContext (Microsoft.AspNetCore.Mvc.ControllerContext) – The
Microsoft.AspNetCore.Mvc.ControllerContext
associated with the current action. - controller (System.Object) – The controller object which contains the action.
- arguments (System.Collections.Generic.IDictionary<System.String>) – The arguments dictionary.
Return type: System.Threading.Tasks.Task
Returns: A
System.Threading.Tasks.Task
which, when completed signals the completion of argument binding.Task BindArgumentsAsync(ControllerContext controllerContext, object controller, IDictionary<string, object> arguments)
- controllerContext (Microsoft.AspNetCore.Mvc.ControllerContext) – The
-