C# Class Adf.Business.ValueObject.Html

Datei anzeigen Open project: NLADP/ADF Class Usage Examples

Public Methods

Method Description
CompareTo ( object obj ) : int

Compares the current Html to the supplied object.

Equals ( object obj ) : bool

Compares this instance to another object.

GetHashCode ( ) : int

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Html ( string newvalue ) : System

Initializes a new instance of the Email class.

If the e-mail address could not be validated, a FormatException exception is thrown.

New ( ) : Html

Creates a new empty Html object.

New ( string value ) : Html

Creates a new empty Html object using the specified initial html string.

ToString ( ) : string

Returns a string that represents the current Email.

ToString ( string format, IFormatProvider formatProvider ) : string
TryParse ( string s, Html &result ) : bool

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

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

Returns the inequality of two Html objects.

Method Details

CompareTo() public method

Compares the current Html to the supplied object.
public CompareTo ( object obj ) : int
obj object The object to compare to.
return int

Equals() public method

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

GetHashCode() public method

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
return int

Html() public method

Initializes a new instance of the Email class.
If the e-mail address could not be validated, a FormatException exception is thrown.
public Html ( string newvalue ) : System
newvalue string The e-mail address to use.
return System

New() public static method

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

New() public static method

Creates a new empty Html object using the specified initial html string.
public static New ( string value ) : Html
value string The initial html string.
return Html

ToString() public method

Returns a string that represents the current Email.
public ToString ( ) : string
return string

ToString() public method

public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
return string

TryParse() public static method

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

TryParse() public static method

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

operator() public static method

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