In CustomValidationAttribute description of validatorType is useless #10928
Labels
area-System.ComponentModel.DataAnnotations
untriaged
New issue has not been triaged by the area owner
Type of issue
Lack of information
Description
Hi,
Trying to implement a custom validation attribute deriving from CustomValidationAttribute, the documentation on the constructor does not say anything useful about the validatorType.
Does it have to implement a certain interface ? be of a certain type ?
I ended up deriving ValidationAttribute which more suited my need.
Nevertheless, the documentation could be improved.
Can somebody add some more information ?
Scal
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.customvalidationattribute.-ctor?view=net-9.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.ComponentModel.DataAnnotations/CustomValidationAttribute.xml
Document Version Independent Id
b2df589f-3424-b320-aad2-5f5381b18fcb
Article author
@dotnet-bot
The text was updated successfully, but these errors were encountered: