示例#1
0
        public static string Push(object obj, string type)
        {
            M_CacheMod model = new M_CacheMod();

            model.obj  = obj;
            model.Type = type;
            list.Add(model);
            return(model.id);
        }
示例#2
0
        public static object Pop(string guid)
        {
            M_CacheMod model = Get(guid);

            if (model != null)
            {
                list.Remove(model);
            }
            return(model.obj);
        }