C# Class Regul.S3PI.Interfaces.HandlerElement

An extension to AHandlerElement, for simple data types (such as uint).
For an example of use, see SimpleList{T}.
Inheritance: AHandlerElement, IEquatable>
Mostra file Open project: Onebeld/Regul Class Usage Examples

Public Methods

Method Description
Clone ( EventHandler handler ) : AHandlerElement

Get a copy of the HandlerElement but with a new change EventHandler.

Equals ( HandlerElement other ) : bool

Indicates whether the current object is equal to another object of the same type.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current HandlerElement{T}.

GetHashCode ( ) : int

Returns the hash code for this instance.

HandlerElement ( EventHandler handler ) : System

Initialize a new instance with a default value.

HandlerElement ( EventHandler handler, basis ) : System

Initialize a new instance with an initial value of basis.

HandlerElement ( EventHandler handler, HandlerElement basis ) : System

Initialize a new instance with an initial value from basis.

Method Details

Clone() public method

Get a copy of the HandlerElement but with a new change EventHandler.
public Clone ( EventHandler handler ) : AHandlerElement
handler EventHandler The replacement HandlerElement delegate.
return AHandlerElement

Equals() public method

Indicates whether the current object is equal to another object of the same type.
public Equals ( HandlerElement other ) : bool
other HandlerElement An object to compare with this object.
return bool

Equals() public method

Determines whether the specified object is equal to the current HandlerElement{T}.
The obj parameter is null.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

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

HandlerElement() public method

Initialize a new instance with a default value.
public HandlerElement ( EventHandler handler ) : System
handler EventHandler The delegate to invoke if the changes.
return System

HandlerElement() public method

Initialize a new instance with an initial value of basis.
public HandlerElement ( EventHandler handler, basis ) : System
handler EventHandler The delegate to invoke if the changes.
basis Initial value for instance.
return System

HandlerElement() public method

Initialize a new instance with an initial value from basis.
public HandlerElement ( EventHandler handler, HandlerElement basis ) : System
handler EventHandler The delegate to invoke if the changes.
basis HandlerElement Element containing the initial value for instance.
return System