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