BodyModelBinder Class

Summary

An [Microsoft.AspNet.Mvc.ModelBinding.IModelBinder]() which binds models from the request body using an [Microsoft.AspNet.Mvc.IInputFormatter]() when a model has the binding source [Microsoft.AspNet.Mvc.ModelBinding.BindingSource.Body]()/

Syntax

public class BodyModelBinder : BindingSourceModelBinder, IModelBinder

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ModelBinding.BodyModelBinder

Constructors

Microsoft.AspNet.Mvc.ModelBinding.BodyModelBinder.BodyModelBinder()

Creates a new [Microsoft.AspNet.Mvc.ModelBinding.BodyModelBinder](Microsoft.AspNet.Mvc.ModelBinding.BodyModelBinder.yml).

public BodyModelBinder()

Methods

BindModelCoreAsync(Microsoft.AspNet.Mvc.ModelBinding.ModelBindingContext)
Arguments:
Return type:

System.Threading.Tasks.Task{Microsoft.AspNet.Mvc.ModelBinding.ModelBindingResult}

protected override Task<ModelBindingResult> BindModelCoreAsync(ModelBindingContext bindingContext)