Поделиться через


BodyModelBinder Конструкторы

Определение

Перегрузки

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Создает новый экземпляр BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Создает новый экземпляр BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Создает новый экземпляр BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Создает новый экземпляр BodyModelBinder.

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

Создает новый экземпляр BodyModelBinder.

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

Создает новый экземпляр BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Исходный код:
BodyModelBinder.cs
Исходный код:
BodyModelBinder.cs
Исходный код:
BodyModelBinder.cs

Создает новый экземпляр BodyModelBinder.

public:
 BodyModelBinder(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Formatters::IInputFormatter ^> ^ formatters, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpRequestStreamReaderFactory ^ readerFactory);
public BodyModelBinder (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder
Public Sub New (formatters As IList(Of IInputFormatter), readerFactory As IHttpRequestStreamReaderFactory)

Параметры

formatters
IList<IInputFormatter>

Список IInputFormatter.

readerFactory
IHttpRequestStreamReaderFactory

Объект , используемый IHttpRequestStreamReaderFactoryдля создания TextReader экземпляров для чтения текста запроса.

Применяется к

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Создает новый экземпляр BodyModelBinder.

public:
 BodyModelBinder(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Formatters::IInputFormatter ^> ^ formatters, Microsoft::AspNetCore::Mvc::Internal::IHttpRequestStreamReaderFactory ^ readerFactory);
public BodyModelBinder (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> formatters, Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory readerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> * Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder
Public Sub New (formatters As IList(Of IInputFormatter), readerFactory As IHttpRequestStreamReaderFactory)

Параметры

formatters
IList<IInputFormatter>

Список IInputFormatter.

readerFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory

Объект , используемый Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactoryдля создания TextReader экземпляров для чтения текста запроса.

Применяется к

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Исходный код:
BodyModelBinder.cs
Исходный код:
BodyModelBinder.cs
Исходный код:
BodyModelBinder.cs

Создает новый экземпляр BodyModelBinder.

public:
 BodyModelBinder(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Formatters::IInputFormatter ^> ^ formatters, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpRequestStreamReaderFactory ^ readerFactory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public BodyModelBinder (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
public BodyModelBinder (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder
Public Sub New (formatters As IList(Of IInputFormatter), readerFactory As IHttpRequestStreamReaderFactory, loggerFactory As ILoggerFactory)

Параметры

formatters
IList<IInputFormatter>

Список IInputFormatter.

readerFactory
IHttpRequestStreamReaderFactory

Объект , используемый IHttpRequestStreamReaderFactoryдля создания TextReader экземпляров для чтения текста запроса.

Применяется к

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Создает новый экземпляр BodyModelBinder.

public:
 BodyModelBinder(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Formatters::IInputFormatter ^> ^ formatters, Microsoft::AspNetCore::Mvc::Internal::IHttpRequestStreamReaderFactory ^ readerFactory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public BodyModelBinder (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> formatters, Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> * Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder
Public Sub New (formatters As IList(Of IInputFormatter), readerFactory As IHttpRequestStreamReaderFactory, loggerFactory As ILoggerFactory)

Параметры

formatters
IList<IInputFormatter>

Список IInputFormatter.

readerFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory

Объект , используемый Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactoryдля создания TextReader экземпляров для чтения текста запроса.

Применяется к

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

Исходный код:
BodyModelBinder.cs
Исходный код:
BodyModelBinder.cs
Исходный код:
BodyModelBinder.cs

Создает новый экземпляр BodyModelBinder.

public:
 BodyModelBinder(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Formatters::IInputFormatter ^> ^ formatters, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpRequestStreamReaderFactory ^ readerFactory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Mvc::MvcOptions ^ options);
public BodyModelBinder (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.MvcOptions options);
public BodyModelBinder (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> formatters, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory, Microsoft.AspNetCore.Mvc.MvcOptions? options);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Mvc.MvcOptions -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder
Public Sub New (formatters As IList(Of IInputFormatter), readerFactory As IHttpRequestStreamReaderFactory, loggerFactory As ILoggerFactory, options As MvcOptions)

Параметры

formatters
IList<IInputFormatter>

Список IInputFormatter.

readerFactory
IHttpRequestStreamReaderFactory

Объект , используемый IHttpRequestStreamReaderFactoryдля создания TextReader экземпляров для чтения текста запроса.

Применяется к

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

Создает новый экземпляр BodyModelBinder.

public:
 BodyModelBinder(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Formatters::IInputFormatter ^> ^ formatters, Microsoft::AspNetCore::Mvc::Internal::IHttpRequestStreamReaderFactory ^ readerFactory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Mvc::MvcOptions ^ options);
public BodyModelBinder (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> formatters, Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory readerFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.MvcOptions options);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter> * Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Mvc.MvcOptions -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder
Public Sub New (formatters As IList(Of IInputFormatter), readerFactory As IHttpRequestStreamReaderFactory, loggerFactory As ILoggerFactory, options As MvcOptions)

Параметры

formatters
IList<IInputFormatter>

Список IInputFormatter.

readerFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory

Объект , используемый Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactoryдля создания TextReader экземпляров для чтения текста запроса.

Применяется к