C# Class DbLocalizationProvider.DataAnnotations.CachedLocalizedMetadataProvider

Credits: http://world.episerver.com/Blogs/devabees/Dates/2014/3/Integrating-LocalizationService-with-MVC-DataAnnotations/
Inheritance: CachedDataAnnotationsModelMetadataProvider
Mostra file Open project: valdisiljuconoks/LocalizationProvider

Protected Methods

Method Description
CreateMetadataFromPrototype ( CachedDataAnnotationsModelMetadata prototype, Func modelAccessor ) : CachedDataAnnotationsModelMetadata
CreateMetadataPrototype ( IEnumerable attributes, Type containerType, Type modelType, string propertyName ) : CachedDataAnnotationsModelMetadata

Method Details

CreateMetadataFromPrototype() protected method

protected CreateMetadataFromPrototype ( CachedDataAnnotationsModelMetadata prototype, Func modelAccessor ) : CachedDataAnnotationsModelMetadata
prototype CachedDataAnnotationsModelMetadata
modelAccessor Func
return CachedDataAnnotationsModelMetadata

CreateMetadataPrototype() protected method

protected CreateMetadataPrototype ( IEnumerable attributes, Type containerType, Type modelType, string propertyName ) : CachedDataAnnotationsModelMetadata
attributes IEnumerable
containerType System.Type
modelType System.Type
propertyName string
return CachedDataAnnotationsModelMetadata