[]
Attempts to bind a model.
public Task BindModelAsync(ModelBindingContext bindingContext)
| Type | Name | Description |
|---|---|---|
| ModelBindingContext | bindingContext | The Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext. |
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task which on completion returns a Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult which represents the result of the model binding process. If model binding was successful, the Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult should be a value created with Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult.Success(System.String,System.Object). If model binding failed, the Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult should be a value created with Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult.Failed(System.String). If there was no data, or this model binder cannot handle the operation, the Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.Result |