[]
        
(Showing Draft Content)

C1.Web.Api.RequestModelBinder-1.BindModelAsync

BindModelAsync Method

BindModelAsync(ModelBindingContext)

Async function to bind to a particular model.

Declaration
public Task BindModelAsync(ModelBindingContext bindingContext)
Public Function BindModelAsync(bindingContext As ModelBindingContext) As Task
Parameters
Type Name Description
ModelBindingContext bindingContext

The binding context which has the object to be bound.

Returns
Type Description
Task

A Task which on completion returns a Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult which represents the result of the model binding process.

Implements
Remarks

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.