BodyModelBinder Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)
- Origem:
- BodyModelBinder.cs
- Origem:
- BodyModelBinder.cs
- Origem:
- BodyModelBinder.cs
Cria um novo 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)
Parâmetros
- formatters
- IList<IInputFormatter>
A lista de IInputFormatter.
- readerFactory
- IHttpRequestStreamReaderFactory
O IHttpRequestStreamReaderFactory, usado para criar TextReader instâncias para ler o corpo da solicitação.
Aplica-se a
BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)
Cria um novo 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)
Parâmetros
- formatters
- IList<IInputFormatter>
A lista de IInputFormatter.
- readerFactory
- Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory
O Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory, usado para criar TextReader instâncias para ler o corpo da solicitação.
Aplica-se a
BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)
- Origem:
- BodyModelBinder.cs
- Origem:
- BodyModelBinder.cs
- Origem:
- BodyModelBinder.cs
Cria um novo 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)
Parâmetros
- formatters
- IList<IInputFormatter>
A lista de IInputFormatter.
- readerFactory
- IHttpRequestStreamReaderFactory
O IHttpRequestStreamReaderFactory, usado para criar TextReader instâncias para ler o corpo da solicitação.
- loggerFactory
- ILoggerFactory
Aplica-se a
BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)
Cria um novo 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)
Parâmetros
- formatters
- IList<IInputFormatter>
A lista de IInputFormatter.
- readerFactory
- Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory
O Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory, usado para criar TextReader instâncias para ler o corpo da solicitação.
- loggerFactory
- ILoggerFactory
Aplica-se a
BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory, MvcOptions)
- Origem:
- BodyModelBinder.cs
- Origem:
- BodyModelBinder.cs
- Origem:
- BodyModelBinder.cs
Cria um novo 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)
Parâmetros
- formatters
- IList<IInputFormatter>
A lista de IInputFormatter.
- readerFactory
- IHttpRequestStreamReaderFactory
O IHttpRequestStreamReaderFactory, usado para criar TextReader instâncias para ler o corpo da solicitação.
- loggerFactory
- ILoggerFactory
- options
- MvcOptions
O MvcOptions.
Aplica-se a
BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory, MvcOptions)
Cria um novo 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)
Parâmetros
- formatters
- IList<IInputFormatter>
A lista de IInputFormatter.
- readerFactory
- Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory
O Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory, usado para criar TextReader instâncias para ler o corpo da solicitação.
- loggerFactory
- ILoggerFactory
- options
- MvcOptions
O MvcOptions.