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

Class representing the value object Postcode.
파일 보기 프로젝트 열기: NLADP/ADF 1 사용 예제들

공개 메소드들

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

Compares an Postcode to the supplied object.

Equals ( object obj ) : bool

Checkes whether this instance is equal to the supplied object.

GetHashCode ( ) : int

Returns the hash code for this instance.

New ( ) : Postcode

Creates and returns a new empty Postcode object.

New ( string value ) : Postcode

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

Postcode ( string newvalue ) : System

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

If the postal code 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, Postcode &result ) : bool
TryParse ( string s, Postcode &result ) : bool

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

operator ( ) : bool

Returns the inequality of the two supplied Postcodes.

메소드 상세

CompareTo() 공개 메소드

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

Equals() 공개 메소드

Checkes 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 and returns a new empty Postcode object.
public static New ( ) : Postcode
리턴 Postcode

New() 공개 정적인 메소드

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

Postcode() 공개 메소드

Initializes a new instance of the Postcode with the supplied value.
If the postal code could not be validated, a FormatException exception is thrown.
public Postcode ( string newvalue ) : System
newvalue string The supplied 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, Postcode &result ) : bool
s string
provider IFormatProvider
result Postcode
리턴 bool

TryParse() 공개 정적인 메소드

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

operator() 공개 정적인 메소드

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