C# Class Adf.Business.ValueObject.AccountNumber

Datei anzeigen Open project: NLADP/ADF Class Usage Examples

Public Methods

Method Description
AccountNumber ( string newvalue ) : System

Initializes a new instance of AccountNumber with the supplied value.

If the supplied value could not be validated, an exception is thrown.

GetHashCode ( ) : int

Returns the hash code for this instance.

New ( ) : AccountNumber

Creates a new empty AccountNumber object.

New ( string value ) : AccountNumber

Creates a new AccountNumber object using the specified value.

ToString ( ) : string

Returns the fully qualified type name of this instance.

TryParse ( string s, AccountNumber &result ) : bool

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

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

Returns the inequality of two AccountNumber objects.

Private Methods

Method Description
CompareTo ( object obj ) : int
ElfProef ( string rekeningNr ) : bool

Indicates whether the supplied value is a valid AccountNumber or not.

Equals ( object obj ) : bool
IsValidAccountNumber ( string newvalue ) : bool

Checks whether the supplied value is a valid AccountNumber or not.

Method Details

AccountNumber() public method

Initializes a new instance of AccountNumber with the supplied value.
If the supplied value could not be validated, an exception is thrown.
public AccountNumber ( string newvalue ) : System
newvalue string The bank account number to use.
return System

GetHashCode() public method

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

New() public static method

Creates a new empty AccountNumber object.
public static New ( ) : AccountNumber
return AccountNumber

New() public static method

Creates a new AccountNumber object using the specified value.
public static New ( string value ) : AccountNumber
value string The supplied value.
return AccountNumber

ToString() public method

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

TryParse() public static method

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

TryParse() public static method

public static TryParse ( string s, IFormatProvider provider, AccountNumber &result ) : bool
s string
provider IFormatProvider
result AccountNumber
return bool

operator() public static method

Returns the inequality of two AccountNumber objects.
public static operator ( ) : bool
return bool