예제 #1
0
        /* GET GSOBJECT */
        public T GetObject <T>(string key) where T : class, new()
        {
            GSObject obj = GetObject(key, null);

            if (null != obj)
            {
                return(obj.Cast <T>());
            }

            return(default(T));
        }
예제 #2
0
        public T GetObject <T>(int index) where T : class, new()
        {
            GSObject obj = GetObject(index);

            return(obj.Cast <T>());
        }