共用方式為


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 用來讀取要求本文的實例。

loggerFactory
ILoggerFactory

ILoggerFactory

適用於

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 用來讀取要求本文的實例。

loggerFactory
ILoggerFactory

ILoggerFactory

適用於

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 用來讀取要求本文的實例。

loggerFactory
ILoggerFactory

ILoggerFactory

options
MvcOptions

MvcOptions

適用於

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 用來讀取要求本文的實例。

loggerFactory
ILoggerFactory

ILoggerFactory

options
MvcOptions

MvcOptions

適用於