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)

属性值

注解

提供程序应实现以下一个或多个接口,具体取决于提供的详细信息类型:

适用于