DefaultModelMetadata Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails)
- Origine:
- DefaultModelMetadata.cs
- Origine:
- DefaultModelMetadata.cs
- Origine:
- DefaultModelMetadata.cs
Crea un nuovo oggetto 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)
Parametri
- provider
- IModelMetadataProvider
Oggetto IModelMetadataProvider.
- detailsProvider
- ICompositeMetadataDetailsProvider
Oggetto ICompositeMetadataDetailsProvider.
- details
- DefaultMetadataDetails
Oggetto DefaultMetadataDetails.
Si applica a
DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, DefaultModelBindingMessageProvider)
- Origine:
- DefaultModelMetadata.cs
- Origine:
- DefaultModelMetadata.cs
- Origine:
- DefaultModelMetadata.cs
Crea un nuovo oggetto 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)
Parametri
- provider
- IModelMetadataProvider
Oggetto IModelMetadataProvider.
- detailsProvider
- ICompositeMetadataDetailsProvider
Oggetto ICompositeMetadataDetailsProvider.
- details
- DefaultMetadataDetails
Oggetto DefaultMetadataDetails.
- modelBindingMessageProvider
- DefaultModelBindingMessageProvider
Oggetto DefaultModelBindingMessageProvider.
Si applica a
DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, ModelBindingMessageProvider)
Crea un nuovo oggetto 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)
Parametri
- provider
- IModelMetadataProvider
Oggetto IModelMetadataProvider.
- detailsProvider
- ICompositeMetadataDetailsProvider
Oggetto ICompositeMetadataDetailsProvider.
- details
- DefaultMetadataDetails
Oggetto DefaultMetadataDetails.
- modelBindingMessageProvider
- ModelBindingMessageProvider
Oggetto ModelBindingMessageProvider.