Click here to Skip to main content
15,893,814 members

Comments by samijf (Top 1 by date)

samijf 2-May-21 16:18pm View    
I tried also:
var context = new ValidationContext<object>(_Validator);
var result = _Validator.Validate(context);
Cannot validate instances of type 'CustomerValidator'. This validator can only validate instances of type 'Customer'.