http://stackoverflow.com/questions/2652460/c-sharp-how-to-get-the-name-of-the-current-method-from-code
this.GetType().FullName + "." + System.Reflection.MethodBase.GetCurrentMethod().Name;
string method = string.Format("{0}.{1}", MethodBase.GetCurrentMethod().DeclaringType.FullName, MethodBase.GetCurrentMethod().Name);
System.Reflection.MethodBase.GetCurrentMethod()
Комментариев нет:
Отправить комментарий