共用方式為


DefaultModelMetadata 建構函式

定義

多載

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails)

建立新的 DefaultModelMetadata

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, DefaultModelBindingMessageProvider)

建立新的 DefaultModelMetadata

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, ModelBindingMessageProvider)

建立新的 DefaultModelMetadata

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails)

來源:
DefaultModelMetadata.cs
來源:
DefaultModelMetadata.cs
來源:
DefaultModelMetadata.cs

建立新的 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)

參數

適用於

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, DefaultModelBindingMessageProvider)

來源:
DefaultModelMetadata.cs
來源:
DefaultModelMetadata.cs
來源:
DefaultModelMetadata.cs

建立新的 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)

參數

適用於

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, ModelBindingMessageProvider)

建立新的 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)

參數

適用於