C# Class gov.va.medora.mdo.EmailAddress

Mostrar archivo Open project: OSEHRA/mdo Class Usage Examples

Public Methods

Method Description
EmailAddress ( ) : System
EmailAddress ( string emailAddress ) : System
EmailAddress ( string username, string hostname ) : System
Equals ( object obj ) : bool

Check whether two email addresses are equal

GetHashCode ( ) : int

Calls ToString().GetHashCode() to retrieve the hashcode of the string representation of an EmailAddress object

ToString ( ) : string

Returns the email address string

isValid ( string emailAddress ) : bool

Private Methods

Method Description
split ( string emailAddress ) : void

Method Details

EmailAddress() public method

public EmailAddress ( ) : System
return System

EmailAddress() public method

public EmailAddress ( string emailAddress ) : System
emailAddress string
return System

EmailAddress() public method

public EmailAddress ( string username, string hostname ) : System
username string
hostname string
return System

Equals() public method

Check whether two email addresses are equal
public Equals ( object obj ) : bool
obj object EmailAddress
return bool

GetHashCode() public method

Calls ToString().GetHashCode() to retrieve the hashcode of the string representation of an EmailAddress object
public GetHashCode ( ) : int
return int

ToString() public method

Returns the email address string
public ToString ( ) : string
return string

isValid() public static method

public static isValid ( string emailAddress ) : bool
emailAddress string
return bool