阅读背景:

如何通过一个属性的值来获取属性名?如何获取当前正在验证的数据属性的属性信息?

来源:互联网 

I want to write custom validation attribute and add additional member names which have validation errors to validation result. The thing is I want to generate member name dynamically based on property name and invalid match property index or key (I want to validate IEnumerables or IDictionaries) like I want to write custom validation attribute and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: