Delen via


IModelMetadataProvider Interface

Definition

A provider that can supply instances of ModelMetadata.

public interface class IModelMetadataProvider
public interface IModelMetadataProvider
type IModelMetadataProvider = interface
Public Interface IModelMetadataProvider
Derived

Remarks

While not obsolete, implementing or using ModelMetadataProvider is preferred over IModelMetadataProvider.

Methods

GetMetadataForProperties(Type)

Supplies metadata describing the properties of a Type.

GetMetadataForType(Type)

Supplies metadata describing a Type.

Extension Methods

GetMetadataForProperty(IModelMetadataProvider, Type, String)

Gets a ModelMetadata for property identified by the provided containerType and propertyName.

GetModelExplorerForType(IModelMetadataProvider, Type, Object)

Gets a ModelExplorer for the provided modelType and model.

Applies to