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

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

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

Метод Описание
CompareTo ( object obj ) : int

Compares an Sofinummer 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 ( ) : Sofinummer

Creates a new empty Sofinummer object.

New ( string value ) : Sofinummer

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

Sofinummer ( string newvalue ) : System

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

If the social-fiscal 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, Sofinummer &result ) : bool
TryParse ( string s, Sofinummer &result ) : bool

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

operator ( ) : bool

Returns the inequality of the two supplied Sofinummers.

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

Метод Описание
ElfProefSofi ( string sofiNr ) : bool

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

IsValidSofinummer ( string newvalue ) : bool

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

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

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

Compares an Sofinummer 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 Sofinummer object.
public static New ( ) : Sofinummer
Результат Sofinummer

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

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

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

Initializes a new instance of the Sofinummer with the supplied value.
If the social-fiscal number could not be validated, a FormatException exception is thrown.
public Sofinummer ( 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, Sofinummer &result ) : bool
s string
provider IFormatProvider
result Sofinummer
Результат bool

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

Tries to parse the supplied string into the supplied Sofinummer object.
public static TryParse ( string s, Sofinummer &result ) : bool
s string The string to parse.
result Sofinummer The object.
Результат bool

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

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