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

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

공개 메소드들

메소드 설명
CompareTo ( object obj ) : int

Compares an PhoneNumber to the supplied object.

Equals ( object obj ) : bool

Checks whether this instance is equal to the supplied object.

GetHashCode ( ) : int

Returns the hash code for this instance.

New ( ) : PhoneNumber

Creates a new empty PhoneNumber object.

New ( string value ) : PhoneNumber

Creates and returns a new empty PhoneNumber object using the specified value.

PhoneNumber ( string newvalue ) : System

Initializes a new instance of the PhoneNumber with the supplied value.

If the phone number could not be validated, a FormatException exception is thrown.

ToString ( ) : string

Returns the fully qualified type name of this instance.

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

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

operator ( ) : bool

Returns the inequality of the two supplied PhoneNumbers.

메소드 상세

CompareTo() 공개 메소드

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

Equals() 공개 메소드

Checks whether this instance is equal to the supplied object.
public Equals ( object obj ) : bool
obj object The object to compare against.
리턴 bool

GetHashCode() 공개 메소드

Returns the hash code for this instance.
public GetHashCode ( ) : int
리턴 int

New() 공개 정적인 메소드

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

New() 공개 정적인 메소드

Creates and returns a new empty PhoneNumber object using the specified value.
public static New ( string value ) : PhoneNumber
value string The supplied value.
리턴 PhoneNumber

PhoneNumber() 공개 메소드

Initializes a new instance of the PhoneNumber with the supplied value.
If the phone number could not be validated, a FormatException exception is thrown.
public PhoneNumber ( string newvalue ) : System
newvalue string The value to use.
리턴 System

ToString() 공개 메소드

Returns the fully qualified type name of this instance.
public ToString ( ) : string
리턴 string

TryParse() 공개 정적인 메소드

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

TryParse() 공개 정적인 메소드

Tries to parse the supplied string into the supplied PhoneNumber object.
public static TryParse ( string s, PhoneNumber &result ) : bool
s string The string to parse.
result PhoneNumber The object.
리턴 bool

operator() 공개 정적인 메소드

Returns the inequality of the two supplied PhoneNumbers.
public static operator ( ) : bool
리턴 bool