The AbstractHandler type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| AbstractHandler |
Methods
| Name | Description | |
|---|---|---|
| AddEvent THandler |
Adds the event to the list
| |
| AssignCurrentHandler |
Assigns the current handler to the event arguments
| |
| Clear |
Clears the event handlers from the event
| |
| ClearAllHandlers |
Clears all bound event handlers from all events
| |
| CountExecution |
Counts the execution of the event
| |
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
| CheckBase |
Checks if the handler is base handler instance, and fires an exception if not
| |
| CheckEvent |
Checks if the handler is event handler instance, and fires an exception if not
| |
Creates a shallow copy of the current (Inherited from | ||
| Raise TArgs |
Raises the list of events
| |
| RemoveEvent THandler |
Removes the event from the list
| |
| Reset |
Resets the number of executions of the event
| |
| ResetAllHandlers |
Resets all bound event handlers from all events
| |
| SetParent |
Sets the parent event of the event
| |
Returns a string that represents the current object. (Inherited from |
Extension Methods
| Name | Description | |
|---|---|---|
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
| Name | Description | |
|---|---|---|
| mExecutions |
Number of executions of the event
|
Properties
| Name | Description | |
|---|---|---|
| ControlRecursion |
If true, the recursion control is enabled on this handler.
| |
| Debug |
If true, the handler is included in debug
| |
| Name |
Event name. The name serves for debug purposes and to uniquely identify the handler.
| |
| OneTime |
If true, this event can be executed only once. If the event was already executed, and new handler is added, it executes immediately.
| |
| WasExecuted |
Returns true if the event was already executed
|
See Also