예제 #1
0
        public string          TitleOf(UInt64 itemId)
        {
            string     ret   = null;
            int        dimId = DimId(itemId);
            IDimension dim   = null;
            IDimItem   item  = null;

            if (_dimensions.TryGetValue(dimId, out dim))
            {
                item = dim.DimItemGet(itemId);
                if (item != null)
                {
                    ret = item.DimItemName;
                }
            }
            return(ret);
        }