DefaultModelMetadataProvider 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 default implementation of IModelMetadataProvider based on reflection.
public ref class DefaultModelMetadataProvider : Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider
public ref class DefaultModelMetadataProvider : Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadataProvider
public class DefaultModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider
public class DefaultModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider
type DefaultModelMetadataProvider = class
interface IModelMetadataProvider
type DefaultModelMetadataProvider = class
inherit ModelMetadataProvider
Public Class DefaultModelMetadataProvider
Implements IModelMetadataProvider
Public Class DefaultModelMetadataProvider
Inherits ModelMetadataProvider
- Inheritance
-
DefaultModelMetadataProvider
- Inheritance
- Derived
- Implements
Constructors
Properties
DetailsProvider |
Gets the ICompositeMetadataDetailsProvider. |
ModelBindingMessageProvider |
Gets the DefaultModelBindingMessageProvider. |
Methods
CreateModelMetadata(DefaultMetadataDetails) |
Creates a new ModelMetadata from a DefaultMetadataDetails. |
CreateParameterDetails(ModelMetadataIdentity) |
Creates the DefaultMetadataDetails entry for a parameter Type. |
CreatePropertyDetails(ModelMetadataIdentity) |
Creates the DefaultMetadataDetails entries for the properties of a model Type. |
CreateTypeDetails(ModelMetadataIdentity) |
Creates the DefaultMetadataDetails entry for a model Type. |
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 |