Aracılığıyla paylaş


DefaultMetadataDetails(ModelMetadataIdentity, ModelAttributes) Oluşturucu

Tanım

Yeni bir DefaultMetadataDetails oluşturur.

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

Parametreler

attributes
ModelAttributes

Model öznitelikleri kümesi.

Şunlara uygulanır