Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to define class validation rules against an interface #59

Closed
jeremydmiller opened this issue May 7, 2014 · 0 comments
Closed

Comments

@jeremydmiller
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant