C# Class System.Web.Mvc.EnhancedDataAnnotationsModelMetadataProvider

The EnhancedDataAnnotationsModelMetadataProvider class
Inheritance: System.Web.Mvc.DataAnnotationsModelMetadataProvider
Show file Open project: adaptabi/i18N-Complete

Protected Methods

Method Description
CreateMetadata ( IEnumerable attributes, Type containerType, Func modelAccessor, Type modelType, string propertyName ) : ModelMetadata

Gets the metadata for the specified property.

Private Methods

Method Description
GetString ( dynamic stringOrMvcString ) : string

Method Details

CreateMetadata() protected method

Gets the metadata for the specified property.
protected CreateMetadata ( IEnumerable attributes, Type containerType, Func modelAccessor, Type modelType, string propertyName ) : ModelMetadata
attributes IEnumerable
containerType System.Type
modelAccessor Func
modelType System.Type
propertyName string
return ModelMetadata