Exemple #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));
        }
        public T GetObject <T>(int index) where T : class, new()
        {
            GSObject obj = GetObject(index);

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