public TypeInfo(Type type)
 {
     this.Type         = type;
     this.TypeCategory = ReflectionUtil.GetTypeCategory(type);
     this.Label        = ReflectionUtil.GetTypeCategoryDisplayString(type) + " " + ReflectionUtil.GetNiceTypeName(type);
 }
Example #2
0
        public static string GetTypeCategoryDisplayString(System.Type type)
        {
            var cat = ReflectionUtil.GetTypeCategory(type);

            return(ReflectionUtil.GetTypeCategoryDisplayString(cat));
        }