Aracılığıyla paylaş


ModelMetadataProvider.GetMetadataForConstructor(ConstructorInfo, Type) Yöntem

Tanım

Oluşturucuyu açıklayan meta veriler sağlar.

public:
 virtual Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ GetMetadataForConstructor(System::Reflection::ConstructorInfo ^ constructor, Type ^ modelType);
public virtual Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForConstructor (System.Reflection.ConstructorInfo constructor, Type modelType);
abstract member GetMetadataForConstructor : System.Reflection.ConstructorInfo * Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
override this.GetMetadataForConstructor : System.Reflection.ConstructorInfo * Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Public Overridable Function GetMetadataForConstructor (constructor As ConstructorInfo, modelType As Type) As ModelMetadata

Parametreler

modelType
Type

Oluşturucuyu belirten tür.

Döndürülenler

ModelMetadata öğesini açıklayan constructorbir örnek.

Şunlara uygulanır