C# 클래스 Adf.Business.ValueObject.Email

파일 보기 프로젝트 열기: NLADP/ADF 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

CompareTo() 공개 메소드

Compares the current Email to the supplied object.
public CompareTo ( object obj ) : int
obj object The object to compare to.
리턴 int

Email() 공개 메소드

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.
리턴 System

Equals() 공개 메소드

Compares this instance to another object.
public Equals ( object obj ) : bool
obj object The object to compare against.
리턴 bool

GetHashCode() 공개 메소드

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
리턴 int

New() 공개 정적인 메소드

Creates a new empty Email object.
public static New ( ) : Email
리턴 Email

New() 공개 정적인 메소드

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.
리턴 Email

ToString() 공개 메소드

Returns a string that represents the current Email.
public ToString ( ) : string
리턴 string

TryParse() 공개 정적인 메소드

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.
리턴 bool

TryParse() 공개 정적인 메소드

public static TryParse ( string s, IFormatProvider provider, Email &result ) : bool
s string
provider IFormatProvider
result Email
리턴 bool

operator() 공개 정적인 메소드

Returns the inequality of two Email objects.
public static operator ( ) : bool
리턴 bool