1.自定义特性 //AttributeTargets 作用于什么位置(类,枚举,方法,属性。。。) [AttributeUsage(AttributeTargets.Class)] internal sealed class CustonAttribute:Attribute { public CustonAttribute(string author, string version, string discription)
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有