Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​EventHandlerList
Assembly: System.ComponentModel.Primitives
Inheritance: object → EventHandlerList
Implemented Interfaces
Provides a simple list of delegates. This class cannot be inherited.
Properties
public
delegate
Item
Methods
public
void
AddHandler​(object key,
delegate value)
Adds a delegate to the list.
key
The object that owns the event.
value
The delegate to add to the list.
public
void
AddHandlers​(EventHandlerList listToAddFrom)
Adds a list of delegates to the current list.
listToAddFrom
The list to add.
public
void
Dispose​()
Disposes the delegate list.
public
void
RemoveHandler​(object key,
delegate value)
Removes a delegate from the list.
key
The object that owns the event.
value
The delegate to remove from the list.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object