Share via


BodyModelBinder Sınıf

Tanım

Bir IModelBinder model bağlama kaynağına Bodysahip olduğunda kullanarak IInputFormatter istek gövdesinden modelleri bağlayan .

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
Devralma
BodyModelBinder
Uygulamalar

Oluşturucular

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Yeni bir BodyModelBinder oluşturur.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Yeni bir BodyModelBinder oluşturur.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Yeni bir BodyModelBinder oluşturur.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Yeni bir BodyModelBinder oluşturur.

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

Yeni bir BodyModelBinder oluşturur.

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

Yeni bir BodyModelBinder oluşturur.

Yöntemler

BindModelAsync(ModelBindingContext)

Bir modeli bağlamaya çalışır.

Şunlara uygulanır