IControllerActionArgumentBinder Interface¶
Methods¶
-
BindActionArgumentsAsync
(Microsoft.AspNet.Mvc.ActionContext, Microsoft.AspNet.Mvc.ActionBindingContext, System.Object)¶ Returns a dictionary of representing the parameter-argument name-value pairs, which can be used to invoke the action. Also binds properties explicitly marked properties on the
<paramref name=”controller” />.
Arguments: - context (Microsoft.AspNet.Mvc.ActionContext) – The action context assoicated with the current action.
- bindingContext (Microsoft.AspNet.Mvc.ActionBindingContext) – The [Microsoft.AspNet.Mvc.ActionBindingContext](Microsoft.AspNet.Mvc.ActionBindingContext.yml).
- controller (System.Object) – The controller object which contains the action.
Return type: System.Threading.Tasks.Task{System.Collections.Generic.IDictionary{System.String,System.Object}}
Task<IDictionary<string, object>> BindActionArgumentsAsync(ActionContext context, ActionBindingContext bindingContext, object controller)
-