C# System.Attribute(验证类)
摘要:
本文以一个项目中通用的验证类来举例说明如何使用自定义Attribute来扩展元数据。在项目中,我们为了保证各个层次之间的松藕合,通常把在各个层次之间传递数据的封装在一个称为实体类的类中,比如ActionFrom[csharp]view plaincopyusingSystem;namespaceAt... 阅读全文
posted @ 2015-03-27 22:29 大西瓜3721 阅读(693) 评论(0) 推荐(0)
浙公网安备 33010602011771号