Lean
$LEAN_TAG$
|
Provides methods for validating strings following a certain format, such as an email address More...
Classes | |
class | RegularExpression |
Provides static storage of compiled regular expressions to preclude parsing on each invocation More... | |
Static Public Member Functions | |
static bool | EmailAddress (string emailAddress) |
Validates the provided email address More... | |
Provides methods for validating strings following a certain format, such as an email address
Definition at line 25 of file Validate.cs.
|
static |
Validates the provided email address
Implementation taken from msdn (with slight refactoring for readability and C#6 compliance): https://docs.microsoft.com/en-us/dotnet/standard/base-types/how-to-verify-that-strings-are-in-valid-email-format
emailAddress | The email address to be validated |
Definition at line 36 of file Validate.cs.