Web API Core | ComponentOne
C1.Web.Api Namespace / RequestModelBinder<T> Class / BindModelAsync Method
The binding context which has the object to be bound.

In This Topic
    BindModelAsync Method (RequestModelBinder<T>)
    In This Topic
    Async function to bind to a particular model.
    Syntax
    'Declaration
     
    
    Public Function BindModelAsync( _
       ByVal bindingContext As ModelBindingContext _
    ) As Task
    public Task BindModelAsync( 
       ModelBindingContext bindingContext
    )

    Parameters

    bindingContext
    The binding context which has the object to be bound.

    Return Value

    A Task which on completion returns a Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult which represents the result of the model binding process.
    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.
    See Also