C# Class Adf.Business.ValueObject.Email

Afficher le fichier Open project: NLADP/ADF Class Usage Examples

Méthodes publiques

Méthode Description
CompareTo ( object obj ) : int

Compares the current Email to the supplied object.

Email ( string newvalue ) : System

Initializes a new instance of the Email class.

If the e-mail address could not be validated, a FormatException exception is thrown.

Equals ( object obj ) : bool

Compares this instance to another object.

GetHashCode ( ) : int

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

New ( ) : Email

Creates a new empty Email object.

New ( string value ) : Email

Creates a new empty Email object using the specified initial e-mail address.

ToString ( ) : string

Returns a string that represents the current Email.

TryParse ( string s, Email &result ) : bool

Tries to parse the supplied string into the supplied Email object.

TryParse ( string s, IFormatProvider provider, Email &result ) : bool
operator ( ) : bool

Returns the inequality of two Email objects.

Method Details

CompareTo() public méthode

Compares the current Email to the supplied object.
public CompareTo ( object obj ) : int
obj object The object to compare to.
Résultat int

Email() public méthode

Initializes a new instance of the Email class.
If the e-mail address could not be validated, a FormatException exception is thrown.
public Email ( string newvalue ) : System
newvalue string The e-mail address to use.
Résultat System

Equals() public méthode

Compares this instance to another object.
public Equals ( object obj ) : bool
obj object The object to compare against.
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
Résultat int

New() public static méthode

Creates a new empty Email object.
public static New ( ) : Email
Résultat Email

New() public static méthode

Creates a new empty Email object using the specified initial e-mail address.
public static New ( string value ) : Email
value string The initial e-mail address.
Résultat Email

ToString() public méthode

Returns a string that represents the current Email.
public ToString ( ) : string
Résultat string

TryParse() public static méthode

Tries to parse the supplied string into the supplied Email object.
public static TryParse ( string s, Email &result ) : bool
s string The string to parse.
result Email The object.
Résultat bool

TryParse() public static méthode

public static TryParse ( string s, IFormatProvider provider, Email &result ) : bool
s string
provider IFormatProvider
result Email
Résultat bool

operator() public static méthode

Returns the inequality of two Email objects.
public static operator ( ) : bool
Résultat bool