C# Class DbLocalizationProvider.DataAnnotations.CachedLocalizedMetadataProvider

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

Méthodes protégées

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

Method Details

CreateMetadataFromPrototype() protected méthode

protected CreateMetadataFromPrototype ( CachedDataAnnotationsModelMetadata prototype, Func modelAccessor ) : CachedDataAnnotationsModelMetadata
prototype CachedDataAnnotationsModelMetadata
modelAccessor Func
Résultat CachedDataAnnotationsModelMetadata

CreateMetadataPrototype() protected méthode

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