C# Class Microsoft.Protocols.TestSuites.Common.RFC822AddressParser

This class implements rfc 822 compliant email validator routines.
ファイルを表示 Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
IsValidAddress ( string emailaddress ) : bool

Verify whether the specified email address is compliant with RFC822 or not

Private Methods

Method Description
InitialRegex ( ) : void

Initialize the regex expression

RFC822AddressParser ( ) : System.Text.RegularExpressions

Initializes static members of the RFC822AddressParser class

Method Details

IsValidAddress() public static method

Verify whether the specified email address is compliant with RFC822 or not
public static IsValidAddress ( string emailaddress ) : bool
emailaddress string A string represent a actual email address
return bool