Esempio n. 1
0
        /// <summary>
        /// 获取对象
        /// </summary>
        public T Get <T>(Guid id)
        {
            Pulse();
            if (!_Data.Contains(id.ToISFormatted()))
            {
                return(default(T));
            }
            T obj = _Data.Get <TicketedObject <T> >(id.ToISFormatted()).Get();

            Pulse();
            return(obj);
        }
Esempio n. 2
0
 public List <T> Object <T>()
 {
     return(_Lists.Get <List <T> >(key: typeof(T).Name));
 }