ParameterBinder Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator) |
Obsoletos.
Este constructor está obsoleto y se quitará en una versión futura. La alternativa recomendada es la sobrecarga que también toma un MvcOptions descriptor de acceso y un ILoggerFactory. Inicializa una nueva instancia de la clase ParameterBinder. |
ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator, IOptions<MvcOptions>, ILoggerFactory) |
Inicializa una nueva instancia de la clase ParameterBinder. |
ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator)
- Source:
- ParameterBinder.cs
- Source:
- ParameterBinder.cs
Precaución
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 .
Este constructor está obsoleto y se quitará en una versión futura. La alternativa recomendada es la sobrecarga que también toma un MvcOptions descriptor de acceso y un ILoggerFactory.
Inicializa una nueva instancia de la clase 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
- modelMetadataProvider
- IModelMetadataProvider
- modelBinderFactory
- IModelBinderFactory
- validator
- IObjectModelValidator
- Atributos
Se aplica a
ParameterBinder(IModelMetadataProvider, IModelBinderFactory, IObjectModelValidator, IOptions<MvcOptions>, ILoggerFactory)
- Source:
- ParameterBinder.cs
- Source:
- ParameterBinder.cs
- Source:
- ParameterBinder.cs
Inicializa una nueva instancia de la clase 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
- modelMetadataProvider
- IModelMetadataProvider
- modelBinderFactory
- IModelBinderFactory
- validator
- IObjectModelValidator
- mvcOptions
- IOptions<MvcOptions>
Descriptor de MvcOptions acceso.
- loggerFactory
- ILoggerFactory
Comentarios
El mvcOptions
parámetro se omite actualmente.