[]
Async function to bind to a particular model.
public Task BindModelAsync(ModelBindingContext bindingContext)
Type | Name | Description |
---|---|---|
ModelBindingContext | bindingContext | The binding context which has the object to be bound. |
Type | Description |
---|---|
Task | A Task which on completion returns a Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult which represents the result of the model binding process. |
A null return value means that this model binder was not able to handle the request. Returning null ensures that subsequent model binders are run. If a non null value indicates that the model binder was able to handle the request.