Validating Properties #40
Unanswered
RealDotNetDave
asked this question in
Q&A
Replies: 1 comment
-
There's nothing built-in to do validation. I recommend using something like FluentValidation. You should be able to call it from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using this generator, how do I validate a property value? I don't see that is done and I don't see it in the unit tests either. The only thing I saw was this:
private void OnFirstNameChanged(string oldValue, string newValue)
{
// ...
}
Do I have to create a method like this for every property?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions