IModelBinder Interface¶
Methods¶
-
BindModelAsync
(Microsoft.AspNet.Mvc.ModelBinding.ModelBindingContext)¶ Async function to bind to a particular model.
Arguments: - bindingContext (Microsoft.AspNet.Mvc.ModelBinding.ModelBindingContext) – The binding context which has the object to be bound.
Return type: System.Threading.Tasks.Task{Microsoft.AspNet.Mvc.ModelBinding.ModelBindingResult}
Returns: A Task which on completion returns a [Microsoft.AspNet.Mvc.ModelBinding.ModelBindingResult](Microsoft.AspNet.Mvc.ModelBinding.ModelBindingResult.yml) which represents the result of the model binding process.
Task<ModelBindingResult> BindModelAsync(ModelBindingContext bindingContext)
-