C# Class Controller.EventHandlerList

Collection to hold a list of keyed Delegates. Allows registering multiple Handlers against one type of Event
Inheritance: IDisposable
Afficher le fichier Open project: h07r0d/Netduino-Aquarium-Controller Class Usage Examples

Méthodes publiques

Méthode Description
AddHandler ( object _key, Delegate _value ) : void

Adds a delegate to the list

Dispose ( ) : void
EventHandlerList ( ) : System
RemoveHandler ( object _key, Delegate _value ) : void

Removes a delegate from the list

this ( object _key ) : Delegate

Method Details

AddHandler() public méthode

Adds a delegate to the list
public AddHandler ( object _key, Delegate _value ) : void
_key object Key to identify the Handler
_value System.Delegate Delegate to store
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EventHandlerList() public méthode

public EventHandlerList ( ) : System
Résultat System

RemoveHandler() public méthode

Removes a delegate from the list
public RemoveHandler ( object _key, Delegate _value ) : void
_key object Key of handler to remove
_value System.Delegate Delegate to remove from list
Résultat void

this() public méthode

public this ( object _key ) : Delegate
_key object
Résultat System.Delegate