Freigeben über


DisplayMetadataProviderContext(ModelMetadataIdentity, ModelAttributes) Konstruktor

Definition

Erstellt einen neuen DisplayMetadataProviderContext.

public:
 DisplayMetadataProviderContext(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataIdentity key, Microsoft::AspNetCore::Mvc::ModelBinding::ModelAttributes ^ attributes);
public DisplayMetadataProviderContext (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity key, Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes attributes);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity * Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext
Public Sub New (key As ModelMetadataIdentity, attributes As ModelAttributes)

Parameter

attributes
ModelAttributes

Die Attribute für .ModelMetadata

Gilt für: