string typeName = this.GetType().ToString();//空间名.类名
string typeName = this.GetType().Name;//类名
new System.Diagnostics.StackTrace().GetFrame(0).GetMethod().Name 方法名
时间:2023-04-24 04:36:56
string typeName = this.GetType().ToString();//空间名.类名
string typeName = this.GetType().Name;//类名
new System.Diagnostics.StackTrace().GetFrame(0).GetMethod().Name 方法名