Lean  $LEAN_TAG$
QuantConnect.Util.Validate Class Reference

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...
 

Detailed Description

Provides methods for validating strings following a certain format, such as an email address

Definition at line 25 of file Validate.cs.

Member Function Documentation

◆ EmailAddress()

static bool QuantConnect.Util.Validate.EmailAddress ( string  emailAddress)
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

Parameters
emailAddressThe email address to be validated
Returns
True if the provided email address is valid

Definition at line 36 of file Validate.cs.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: