public static MethodInfo ( |
||
info | ||
includeDeclaringType | bool | If true, the methods or constructors declaring type is included in the returned name. |
return | string |
public static string MethodInfo(MethodBase info, bool includeDeclaringType = true)
{
if (info is MethodInfo)
return MethodInfo(info as MethodInfo);
else if (info is ConstructorInfo)
return ConstructorInfo(info as ConstructorInfo);
else if (info != null)
return info.ToString();
else
return "null";
}
Log::MethodInfo ( |