Ejemplo n.º 1
0
 public static string GetFullyQualifiedName(this Type type)
 {
     if (type is null)
     {
         throw new ArgumentNullException(nameof(type));
     }
     return(TypeVisit.GetFullyQualifiedName(type));
 }
 /// <summary>
 /// Get unique fully qualified name for <see cref="MethodInfo"/>.<br />
 /// 获取给定 <see cref="MethodInfo"/> 的完全限定名。
 /// </summary>
 /// <param name="method"></param>
 /// <returns></returns>
 public static string GetFullyQualifiedName(this MethodInfo method)
 {
     return(TypeVisit.GetFullyQualifiedName(method));
 }