Is it possible to implement client-site validation for custom ValidationAttribute, which is used in Class scope? For example my MaxLengthGlobal, which should assure global max limit for all input fiel
I have cre开发者_如何学编程ated a custom attribute called RouteAttribute: [AttributeUsage(AttributeTargets.Property)]
I creating a custom attribute and I would like to the set the AttributeUsage (or maybe some other att开发者_开发知识库ribute in the attribute class) so that I my attribute can only be used in private
According to a book I\'m reading, the AllowMultiple public property of AttributeUsage specifies: ...whether the target can have multiple instances of the attribute applied to it.