Ability to define class validation rules against an interface
jeremydmiller opened this issue · comments
We hit this at work. Say I have an interface called "IFoo" and two classes named "OneFoo" and "TwoFoo." I'd like to be able to define the common validation rules w/
public class FooRules : ClassValidationRules where T : IFoo
then....
public class OneRules : FooRules
and
public class TwoRules : FooRules