microsoft/referencesource

Inconsequent default message handling in system validator attributes

bang75 opened this issue · 0 comments

What is the reason for example EmailAdressAttribute sets DefaultMessage in constructor while RequiredAttibute sets the ErrorMessageAccessor?
I think this is inconsequent and makes it harder to extend Validators with eg. a custom IValidationMetadataProvider.