Exemple #1
0
        /*
         * public TypeInfo GetTypeDefinition(Type t)
         * {
         *  return ClassWrapper.GetFromType(t);
         * }*/

        public TypeInfo GetTypeDefinition(object def)
        {
            Type t = GetType(def);

            return(ClassWrapper.GetFromType(t));
        }
Exemple #2
0
 public TypeInfo GetTypeDefinition(Type t, Type[] generic)
 {
     return(ClassWrapper.GetFromType(t.MakeGenericType(generic)));
 }