Dela via


BodyModelBinder Class

Definition

An IModelBinder which binds models from the request body using an IInputFormatter when a model has the binding source Body.

public ref class BodyModelBinder : Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder
public class BodyModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
type BodyModelBinder = class
    interface IModelBinder
Public Class BodyModelBinder
Implements IModelBinder
Inheritance
BodyModelBinder
Implements

Constructors

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory, MvcOptions)

Creates a new BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory, MvcOptions)

Creates a new BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Creates a new BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Creates a new BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Creates a new BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Creates a new BodyModelBinder.

Methods

BindModelAsync(ModelBindingContext)

Attempts to bind a model.

Applies to