Partager via


BodyModelBinder Constructeurs

Définition

Surcharges

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Crée un BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Crée un BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Crée un BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Crée un BodyModelBinder.

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

Crée un BodyModelBinder.

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

Crée un BodyModelBinder.

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Source:
BodyModelBinder.cs
Source:
BodyModelBinder.cs
Source:
BodyModelBinder.cs

Crée un 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)

Paramètres

formatters
IList<IInputFormatter>

La liste IInputFormatter.

readerFactory
IHttpRequestStreamReaderFactory

IHttpRequestStreamReaderFactory, utilisé pour créer TextReader des instances pour lire le corps de la demande.

S’applique à

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory)

Crée un 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)

Paramètres

formatters
IList<IInputFormatter>

La liste IInputFormatter.

readerFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory

Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory, utilisé pour créer TextReader des instances pour lire le corps de la demande.

S’applique à

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Source:
BodyModelBinder.cs
Source:
BodyModelBinder.cs
Source:
BodyModelBinder.cs

Crée un 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)

Paramètres

formatters
IList<IInputFormatter>

La liste IInputFormatter.

readerFactory
IHttpRequestStreamReaderFactory

IHttpRequestStreamReaderFactory, utilisé pour créer TextReader des instances pour lire le corps de la demande.

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à

BodyModelBinder(IList<IInputFormatter>, IHttpRequestStreamReaderFactory, ILoggerFactory)

Crée un 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)

Paramètres

formatters
IList<IInputFormatter>

La liste IInputFormatter.

readerFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory

Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory, utilisé pour créer TextReader des instances pour lire le corps de la demande.

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à

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

Source:
BodyModelBinder.cs
Source:
BodyModelBinder.cs
Source:
BodyModelBinder.cs

Crée un 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)

Paramètres

formatters
IList<IInputFormatter>

La liste IInputFormatter.

readerFactory
IHttpRequestStreamReaderFactory

IHttpRequestStreamReaderFactory, utilisé pour créer TextReader des instances pour lire le corps de la demande.

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

options
MvcOptions

L’MvcOptionsopérateur

S’applique à

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

Crée un 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)

Paramètres

formatters
IList<IInputFormatter>

La liste IInputFormatter.

readerFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory

Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory, utilisé pour créer TextReader des instances pour lire le corps de la demande.

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

options
MvcOptions

L’MvcOptionsopérateur

S’applique à