Partilhar via


ParameterBinder Construtores

Definição

Sobrecargas

ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator)
Obsoleto.

Esse construtor está obsoleto e será removido em uma versão futura. A alternativa recomendada é a sobrecarga que também usa um MvcOptions acessador e um ILoggerFactory.

Inicializa uma nova instância de ParameterBinder.

ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator, IOptions<MvcOptions>, ILoggerFactory)

Inicializa uma nova instância de ParameterBinder.

ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator)

Origem:
ParameterBinder.cs
Origem:
ParameterBinder.cs

Cuidado

This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes a MvcOptions accessor and an ILoggerFactory .

Esse construtor está obsoleto e será removido em uma versão futura. A alternativa recomendada é a sobrecarga que também usa um MvcOptions acessador e um ILoggerFactory.

Inicializa uma nova instância de ParameterBinder.

public:
 ParameterBinder(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinderFactory ^ modelBinderFactory, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IObjectModelValidator ^ validator);
public ParameterBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator validator);
[System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes a MvcOptions accessor and an ILoggerFactory .")]
public ParameterBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator validator);
new Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator -> Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder
[<System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes a MvcOptions accessor and an ILoggerFactory .")>]
new Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator -> Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder
Public Sub New (modelMetadataProvider As IModelMetadataProvider, modelBinderFactory As IModelBinderFactory, validator As IObjectModelValidator)

Parâmetros

Atributos

Aplica-se a

ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator, IOptions<MvcOptions>, ILoggerFactory)

Origem:
ParameterBinder.cs
Origem:
ParameterBinder.cs
Origem:
ParameterBinder.cs

Inicializa uma nova instância de ParameterBinder.

public:
 ParameterBinder(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinderFactory ^ modelBinderFactory, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IObjectModelValidator ^ validator, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ mvcOptions, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public ParameterBinder (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory modelBinderFactory, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator validator, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> mvcOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder
Public Sub New (modelMetadataProvider As IModelMetadataProvider, modelBinderFactory As IModelBinderFactory, validator As IObjectModelValidator, mvcOptions As IOptions(Of MvcOptions), loggerFactory As ILoggerFactory)

Parâmetros

mvcOptions
IOptions<MvcOptions>

O MvcOptions acessador.

loggerFactory
ILoggerFactory

O ILoggerFactory.

Comentários

No momento, o mvcOptions parâmetro é ignorado.

Aplica-se a