Partager via


DefaultModelMetadata Constructeurs

Définition

Surcharges

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails)

Crée un DefaultModelMetadata.

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, DefaultModelBindingMessageProvider)

Crée un DefaultModelMetadata.

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, ModelBindingMessageProvider)

Crée un DefaultModelMetadata.

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails)

Source:
DefaultModelMetadata.cs
Source:
DefaultModelMetadata.cs
Source:
DefaultModelMetadata.cs
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)

Paramètres

S’applique à

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, DefaultModelBindingMessageProvider)

Source:
DefaultModelMetadata.cs
Source:
DefaultModelMetadata.cs
Source:
DefaultModelMetadata.cs
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)

Paramètres

S’applique à

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, 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);
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)

Paramètres

modelBindingMessageProvider
ModelBindingMessageProvider

L’ModelBindingMessageProvideropérateur

S’applique à