Bagikan melalui


BodyModelBinder Kelas

Definisi

Yang IModelBinder mengikat model dari isi permintaan menggunakan IInputFormatter saat model memiliki sumber Bodypengikatan .

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
Warisan
BodyModelBinder
Penerapan

Konstruktor

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Membuat baru BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Membuat baru BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Membuat baru BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Membuat baru BodyModelBinder.

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

Membuat baru BodyModelBinder.

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

Membuat baru BodyModelBinder.

Metode

BindModelAsync(ModelBindingContext)

Mencoba mengikat model.

Berlaku untuk