共用方式為


MvcOptions.ModelMetadataDetailsProviders 屬性

定義

取得將用來建立 ModelMetadata 實例的 IMetadataDetailsProvider 實例清單。

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::IMetadataDetailsProvider ^> ^ ModelMetadataDetailsProviders { System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::IMetadataDetailsProvider ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider> ModelMetadataDetailsProviders { get; }
member this.ModelMetadataDetailsProviders : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider>
Public ReadOnly Property ModelMetadataDetailsProviders As IList(Of IMetadataDetailsProvider)

屬性值

備註

提供者應該實作下列一或多個介面,視提供的詳細資料類型而定:

適用於