Exemple #1
0
 /// <summary>
 /// 获取运行时类名,无标识
 /// System.Collections.Generic.List<>
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public static string GetDevelopNameWithoutFlag(this Type type)
 {
     return(TypeNameReverser.ReverseFullName(type, true));
 }
Exemple #2
0
 /// <summary>
 /// 获取运行时完整类名
 /// 例如: System.Collections.Generic<T>
 /// 例如: System.Collections.Generic<System.Int32>
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public static string GetDevelopName(this Type type)
 {
     return(TypeNameReverser.ReverseFullName(type));
 }