Event  >  Array

Event is a special Array that accepts only functions and delegates to be used to notify subscribers of events occurring. The order in which functions and delegates are added determines the order the events are called. Functions that are added to events are passed a single parameter, an object that derives from EventArgs that contain details about the calling event. Read more on Events,

Constructors

Event(Object owner) Creates a collection that will contain a list of functions and delegates to call when the Fire method is executed.

Fields

Owner Object The object that owns the event and will be referred as this in all functions executed.

Functions

Fire() Boolean Fires the event.
Fire(EventArgs args) Boolean Fires the event passing in the specific EventArgs.

Last edited Jun 3, 2011 at 2:44 AM by dahrkdaiz, version 9

Comments

No comments yet.