摘要: 1.代码视图:2.RecordAttribute.csusing System; namespace 自定义特性 { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] public class RecordAttribute : Attribute { private readonly string _author; // 作者 private readonly ... 阅读全文
posted @ 2012-12-24 17:52 清山博客 阅读(279) 评论(0) 推荐(0)