C# Class Adf.Core.Identity.ID

Datei anzeigen Open project: NLADP/ADF Class Usage Examples

Public Methods

Method Description
CompareTo ( object obj ) : int
Equals ( object obj ) : bool

Compares this instance to another ID.

GetHashCode ( ) : int

Returns the hash code for this instance.

ID ( object newValue ) : System

Initializes a new instance of the ID with the specified value.

ToString ( ) : string

Returns the string representation of the Value of this ID.

TryParse ( string s, ID &result ) : bool

Checks whether the specified string is a valid ID.

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

Returns the inequality of two IDs.

Method Details

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

Equals() public method

Compares this instance to another ID.
public Equals ( object obj ) : bool
obj object The to compare against.
return bool

GetHashCode() public method

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

ID() public method

Initializes a new instance of the ID with the specified value.
public ID ( object newValue ) : System
newValue object The value to use.
return System

ToString() public method

Returns the string representation of the Value of this ID.
public ToString ( ) : string
return string

TryParse() public static method

Checks whether the specified string is a valid ID.
public static TryParse ( string s, ID &result ) : bool
s string The string to check.
result ID The resulting , or the empty if the string is not a valid .
return bool

TryParse() public static method

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

operator() public static method

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