ModelMetadataProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A provider that can supply instances of ModelMetadata.
public ref class ModelMetadataProvider abstract : Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider
public abstract class ModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider
type ModelMetadataProvider = class
interface IModelMetadataProvider
Public MustInherit Class ModelMetadataProvider
Implements IModelMetadataProvider
- Inheritance
-
ModelMetadataProvider
- Derived
- Implements
Constructors
ModelMetadataProvider() |
Methods
GetMetadataForConstructor(ConstructorInfo, Type) |
Supplies metadata describing a constructor. |
GetMetadataForParameter(ParameterInfo, Type) |
Supplies metadata describing a parameter. |
GetMetadataForParameter(ParameterInfo) |
Supplies metadata describing a parameter. |
GetMetadataForProperties(Type) |
Supplies metadata describing the properties of a Type. |
GetMetadataForProperty(PropertyInfo, Type) |
Supplies metadata describing a property. |
GetMetadataForType(Type) |
Supplies metadata describing a Type. |
Extension Methods
GetMetadataForProperty(IModelMetadataProvider, Type, String) |
Gets a ModelMetadata for property identified by the provided
|
GetModelExplorerForType(IModelMetadataProvider, Type, Object) |
Gets a ModelExplorer for the provided |