DefaultModelMetadata 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
DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails)
- Origem:
- DefaultModelMetadata.cs
- Origem:
- DefaultModelMetadata.cs
- Origem:
- DefaultModelMetadata.cs
Cria um novo DefaultModelMetadata.
public:
DefaultModelMetadata(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ provider, Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ICompositeMetadataDetailsProvider ^ detailsProvider, Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultMetadataDetails ^ details);
public DefaultModelMetadata (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider provider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider detailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails details);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata
Public Sub New (provider As IModelMetadataProvider, detailsProvider As ICompositeMetadataDetailsProvider, details As DefaultMetadataDetails)
Parâmetros
- provider
- IModelMetadataProvider
- detailsProvider
- ICompositeMetadataDetailsProvider
- details
- DefaultMetadataDetails
Aplica-se a
DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, DefaultModelBindingMessageProvider)
- Origem:
- DefaultModelMetadata.cs
- Origem:
- DefaultModelMetadata.cs
- Origem:
- DefaultModelMetadata.cs
Cria um novo DefaultModelMetadata.
public:
DefaultModelMetadata(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ provider, Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ICompositeMetadataDetailsProvider ^ detailsProvider, Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultMetadataDetails ^ details, Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultModelBindingMessageProvider ^ modelBindingMessageProvider);
public DefaultModelMetadata (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider provider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider detailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails details, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider modelBindingMessageProvider);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails * Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata
Public Sub New (provider As IModelMetadataProvider, detailsProvider As ICompositeMetadataDetailsProvider, details As DefaultMetadataDetails, modelBindingMessageProvider As DefaultModelBindingMessageProvider)
Parâmetros
- provider
- IModelMetadataProvider
- detailsProvider
- ICompositeMetadataDetailsProvider
- details
- DefaultMetadataDetails
- modelBindingMessageProvider
- DefaultModelBindingMessageProvider
Aplica-se a
DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, ModelBindingMessageProvider)
Cria um novo DefaultModelMetadata.
public:
DefaultModelMetadata(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ provider, Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ICompositeMetadataDetailsProvider ^ detailsProvider, Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultMetadataDetails ^ details, Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelBindingMessageProvider ^ modelBindingMessageProvider);
public DefaultModelMetadata (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider provider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider detailsProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails details, Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider modelBindingMessageProvider);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails * Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata
Public Sub New (provider As IModelMetadataProvider, detailsProvider As ICompositeMetadataDetailsProvider, details As DefaultMetadataDetails, modelBindingMessageProvider As ModelBindingMessageProvider)
Parâmetros
- provider
- IModelMetadataProvider
- detailsProvider
- ICompositeMetadataDetailsProvider
- details
- DefaultMetadataDetails
- modelBindingMessageProvider
- ModelBindingMessageProvider