C# Класс Adf.Business.ValueObject.AccountNumber

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

AccountNumber() публичный Метод

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.
Результат System

GetHashCode() публичный Метод

Returns the hash code for this instance.
public GetHashCode ( ) : int
Результат int

New() публичный статический Метод

Creates a new empty AccountNumber object.
public static New ( ) : AccountNumber
Результат AccountNumber

New() публичный статический Метод

Creates a new AccountNumber object using the specified value.
public static New ( string value ) : AccountNumber
value string The supplied value.
Результат AccountNumber

ToString() публичный Метод

Returns the fully qualified type name of this instance.
public ToString ( ) : string
Результат string

TryParse() публичный статический Метод

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.
Результат bool

TryParse() публичный статический Метод

public static TryParse ( string s, IFormatProvider provider, AccountNumber &result ) : bool
s string
provider IFormatProvider
result AccountNumber
Результат bool

operator() публичный статический Метод

Returns the inequality of two AccountNumber objects.
public static operator ( ) : bool
Результат bool