Megosztás a következőn keresztül:


MvcOptions.ModelMetadataDetailsProviders Property

Definition

Gets a list of IMetadataDetailsProvider instances that will be used to create ModelMetadata instances.

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)

Property Value

Remarks

A provider should implement one or more of the following interfaces, depending on what kind of details are provided:

Applies to