| AbstractHandler Class |
Namespace: CMS.Base
public abstract class AbstractHandler : IDisposable
The AbstractHandler type exposes the following members.
| Name | Description | |
|---|---|---|
| AbstractHandler |
| Name | Description | |
|---|---|---|
| ControlRecursion |
If true, the recursion control is enabled on this handler.
| |
| Debug |
If true, the handler is included in debug
| |
| IsStatic |
True, if the handler is a static handler
| |
| 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
|
| Name | Description | |
|---|---|---|
| AddEventTHandler |
Adds the event to the list
| |
| AssignCurrentHandler |
Assigns the current handler to the event arguments
| |
| Clear |
Clears all bound event handlers from the event and resets the number of executions of the event
| |
| CountExecution |
Counts the execution of the event
| |
| Dispose |
Disposes the object
| |
| 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
| |
| RaiseTArgs |
Raises the list of events
| |
| RemoveEventTHandler |
Removes the event from the list
| |
| Reset |
Resets the number of executions of the event
| |
| SetParent |
Sets the parent event of the event
|