摘要:
原文网址:http://t.zoukankan.com/cang12138-p-7714651.html 1.(new StackTrace()).GetFrame(1) // 0为本身的方法;1为调用方法2.(new StackTrace()).GetFrame(1).GetMethod().Na 阅读全文
posted @ 2022-11-16 22:35
MaxBruce
阅读(2044)
评论(0)
推荐(0)
摘要:
原文网址:https://www.cnblogs.com/Insist-Y/p/15319212.html 首先定义一个自定义的属性类MyAttribute,该类需要继承Attribute public class MyAttribute : Attribute { /// <summary> // 阅读全文
posted @ 2022-11-16 22:08
MaxBruce
阅读(1690)
评论(0)
推荐(0)

浙公网安备 33010602011771号