Asp.net .net(C#) 获取当前命名空间,类名,方法名的方法
摘要:
public static string GetMethodInfo() { string str = ""; //取得当前方法命名空间 str += "命名空间名:"+System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Nam 阅读全文
posted @ 2016-12-29 18:15 itjeff 阅读(11617) 评论(0) 推荐(1) 编辑