[]
        
(Showing Draft Content)

C1.Web.Mvc.ModelBinderBase.BindModelAsync

BindModelAsync Method

BindModelAsync(ModelBindingContext)

Attempts to bind a model.

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

The Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.

Returns
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

Implements