// 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; }
public CachedDataAnnotationsModelMetadataEx(DataAnnotationsModelMetadataProviderEx provider, Type containerType, Type modelType, string propertyName, IEnumerable <Attribute> attributes) : base(provider, containerType, modelType, propertyName, new CachedDataAnnotationsMetadataAttributes(attributes)) { }