Closed DamianEdwards closed 3 years ago
https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.validator.tryvalidatevalue?view=net-5.0
This might be quicker as the validation attributes can be cached as part of the type scan so that the call simply needs to directly invoke the passed ValidationAttributes method using the passed value.
https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.validator.tryvalidatevalue?view=net-5.0
This might be quicker as the validation attributes can be cached as part of the type scan so that the call simply needs to directly invoke the passed ValidationAttributes method using the passed value.