DataAnnotationsModelValidator-基于数据注解方式的model验证器
2016-03-14 19:44
393 查看
http://www.cnblogs.com/artech/archive/2012/04/10/how-mvc-works.html
http://www.cnblogs.com/artech/archive/2012/06/07/data-annotations-model-validation-02.html
ModelValidator继承层次结构
System.Object
System.Web.Mvc.ModelValidator
System.Web.Mvc.DataAnnotationsModelValidator
System.Web.Mvc.DataAnnotationsModelValidator<TAttribute>
System.Web.Mvc.MaxLengthAttributeAdapter
System.Web.Mvc.MinLengthAttributeAdapter
System.Web.Mvc.RangeAttributeAdapter
System.Web.Mvc.RegularExpressionAttributeAdapter
System.Web.Mvc.RequiredAttributeAdapter
System.Web.Mvc.StringLengthAttributeAdapter
ModelValidatorProvider继承层次结构
System.Object
System.Web.Mvc.ModelValidatorProvider
System.Web.Mvc.AssociatedValidatorProvider
System.Web.Mvc.ClientDataTypeModelValidatorProvider
System.Web.Mvc.DataErrorInfoModelValidatorProvider
System.Web.Mvc.EmptyModelValidatorProvider
http://www.cnblogs.com/artech/archive/2012/06/07/data-annotations-model-validation-02.html
ModelValidator继承层次结构
System.Object
System.Web.Mvc.ModelValidator
System.Web.Mvc.DataAnnotationsModelValidator
System.Web.Mvc.DataAnnotationsModelValidator<TAttribute>
System.Web.Mvc.MaxLengthAttributeAdapter
System.Web.Mvc.MinLengthAttributeAdapter
System.Web.Mvc.RangeAttributeAdapter
System.Web.Mvc.RegularExpressionAttributeAdapter
System.Web.Mvc.RequiredAttributeAdapter
System.Web.Mvc.StringLengthAttributeAdapter
ModelValidatorProvider继承层次结构
System.Object
System.Web.Mvc.ModelValidatorProvider
System.Web.Mvc.AssociatedValidatorProvider
System.Web.Mvc.ClientDataTypeModelValidatorProvider
System.Web.Mvc.DataErrorInfoModelValidatorProvider
System.Web.Mvc.EmptyModelValidatorProvider
相关文章推荐
- autofac如何注册静态方法里的接口对象
- 【MVC框架系列】(一)——Struts,让我把你看得明明白白
- Java.作业2 myClass
- Xposed获取微信用户名密码
- iOS-绘图系统相关学习笔记(一)
- ffmpeg用法及如何使用fluent-ffmpeg
- B树与B+树
- 剑指offer——替换空格 C++
- 我理解的希尔排序
- note during using the redhat
- RethinnkDB, Flask, Backbone.js
- LightOJ 1370 Bi-shoe and Phi-shoe(素数筛)
- 游戏服务器开发和维护的一些经验
- 作业二:编写一个自动生成四则运算的程序
- python的reduce函数
- nyoj 过河问题 贪心
- 开始自己的博客
- JavaScript方法中的DOM对象
- 由常量池 运行时常量池 String intern方法想到的(一)
- opencv 图像去噪要点总结