Share via


DefaultModelMetadata Constructors

Definition

Overloads

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails)

Creates a new DefaultModelMetadata.

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, DefaultModelBindingMessageProvider)

Creates a new DefaultModelMetadata.

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, ModelBindingMessageProvider)

Creates a new DefaultModelMetadata.

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails)

Source:
DefaultModelMetadata.cs
Source:
DefaultModelMetadata.cs
Source:
DefaultModelMetadata.cs

Creates a new 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)

Parameters

Applies to

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, DefaultModelBindingMessageProvider)

Source:
DefaultModelMetadata.cs
Source:
DefaultModelMetadata.cs
Source:
DefaultModelMetadata.cs

Creates a new 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)

Parameters

Applies to

DefaultModelMetadata(IModelMetadataProvider, ICompositeMetadataDetailsProvider, DefaultMetadataDetails, ModelBindingMessageProvider)

Creates a new 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)

Parameters

modelBindingMessageProvider
ModelBindingMessageProvider

The ModelBindingMessageProvider.

Applies to