EventHandlerList Class

Creates a dictionary to hold client-script events and their associated handlers.

Namespace: Sys

Base Types

System.Object

Constructors

Name Description
EventHandlerList()

Methods

Name Description
addHandler(string, Delegate) Attaches a handler to a specified event in an instance and adds the specified event to the list if not already present.
getHandler(string) Returns a single method that can be invoked to call all handlers sequentially for the specified event.
removeHandler(string, Delegate) Removes an event handler from the specified event in a instance.
© Copyright 2005-2011 SharpKit. All rights reserved.