示例#1
0
        public ContentAttribute GetContentAttributeObject(int id)
        {
            var hash = GetAttributeHashTable();
            var key  = id.ToString();

            if (hash.ContainsKey(key))
            {
                return((ContentAttribute)hash[key]);
            }

            return(CacheManager.AddAttributeHashEntry(key));
        }