原文:Asp.net .net(C#) 获取当前命名空间,类名,方法名的方法

public static string GetMethodInfo string str 取得当前方法命名空间 str 命名空间名: System.Reflection.MethodBase.GetCurrentMethod .DeclaringType.Namespace n 取得当前方法类全名包括命名空间 str 命名空间 类名: System.Reflection.MethodBase. ...

2019-03-22 00:16 0 866 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM