Exemplo n.º 1
0
 // Constructor for creating the prototype instances of the metadata class
 protected CachedModelMetadataEx(DataAnnotationsModelMetadataProviderEx provider, Type containerType, Type modelType, string propertyName, TPrototypeCache prototypeCache)
     : base(provider, containerType, null, modelType, propertyName)
 {
     PrototypeCache = prototypeCache;
 }
Exemplo n.º 2
0
 public CachedDataAnnotationsModelMetadataEx(DataAnnotationsModelMetadataProviderEx provider, Type containerType, Type modelType, string propertyName, IEnumerable <Attribute> attributes)
     : base(provider, containerType, modelType, propertyName, new CachedDataAnnotationsMetadataAttributes(attributes))
 {
 }