Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//Email validations
Email.Validations.Add(new IsNotNullOrEmptyRule<string>{ ValidationMessage = "A email is required." });
Email.Validations.Add(new EmailRule<string> { ValidationMessage = "Email is not valid." });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.