摘要:首先,创建一个自定义的Attribute,并且事先设定我们的Attribute将施加在class的元素上面以获取一个类代码的检查信息。 using System; using System.Reflection; [AttributeUsage(AttributeTargets.Class)] pu
阅读全文
posted @ 2019-01-09 23:27
posted @ 2019-01-09 23:27
posted @ 2019-01-03 13:48