随笔分类 -  Attributes学习

偶然的机会发现Attributes很好玩。。
摘要:CollectionBase实现强类型Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections; 3 4namespace Relaction.Collections 5{ 6 ... 阅读全文
posted @ 2006-11-28 13:32 南守拥 阅读(238) 评论(0) 推荐(0)
摘要:自定义集合类: 自定义强类型集合类Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections; 3 4namespace Relaction.Collections 5{... 阅读全文
posted @ 2006-11-28 13:22 南守拥 阅读(248) 评论(0) 推荐(0)
摘要:类: 功能齐全的集合Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections; 3 4namespace Relaction.Collections 5{ 6 ... 阅读全文
posted @ 2006-11-28 13:05 南守拥 阅读(1688) 评论(2) 推荐(0)
摘要:实现ICollection的范例 自定义Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections; 3 4namespace Relaction.Collections 5{ 6... 阅读全文
posted @ 2006-11-28 12:40 南守拥 阅读(2445) 评论(1) 推荐(0)
摘要:定义: 定义Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections; 3 4namespace Relaction.Collections 5{ 6 /**//// ... 阅读全文
posted @ 2006-11-28 12:27 南守拥 阅读(217) 评论(0) 推荐(0)
摘要:简单的ORM例子。 阅读全文
posted @ 2006-11-28 10:28 南守拥 阅读(236) 评论(0) 推荐(0)
摘要:可绑定到成员变量的Attribute。 可绑定到成员变量上的AttributeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Reflection; 3using System.Compone... 阅读全文
posted @ 2006-11-27 10:06 南守拥 阅读(353) 评论(2) 推荐(0)
摘要:自定义Attribute 自定义AttributeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2 3namespace Relaction.test1 4{ 5 /**//// 6 /// 自定义的At... 阅读全文
posted @ 2006-11-27 09:02 南守拥 阅读(200) 评论(0) 推荐(0)