Ejemplo n.º 1
0
        public IEnumerable <ContentAttribute> GetContentAttributeObjects(int contentId)
        {
            var hash  = GetAttributeIdHashTable();
            var key   = contentId.ToString();
            var attrs = hash.ContainsKey(key) ? (ArrayList)hash[key] : CacheManager.AddAttributeIdHashEntry(key);

            return(from object elem in attrs select GetContentAttributeObject((int)elem));
        }