Click or drag to resize
AbstractHandler Class
Base class for handler classes
Inheritance Hierarchy

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax
C#
public abstract class AbstractHandler : IDisposable

The AbstractHandler type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractHandler
Top
Properties
  NameDescription
Public propertyControlRecursion
If true, the recursion control is enabled on this handler.
Public propertyDebug
If true, the handler is included in debug
Public propertyIsStatic
True, if the handler is a static handler
Public propertyName
Event name. The name serves for debug purposes and to uniquely identify the handler.
Public propertyOneTime
If true, this event can be executed only once. If the event was already executed, and new handler is added, it executes immediately.
Public propertyWasExecuted
Returns true if the event was already executed
Top
Methods
  NameDescription
Protected methodAddEventTHandler
Adds the event to the list
Protected methodAssignCurrentHandler
Assigns the current handler to the event arguments
Protected methodCheckBase
Checks if the handler is base handler instance, and fires an exception if not
Protected methodCheckEvent
Checks if the handler is event handler instance, and fires an exception if not
Public methodClear
Clears all bound event handlers from the event and resets the number of executions of the event
Protected methodCountExecution
Counts the execution of the event
Public methodDispose
Disposes the object
Protected methodRaiseTArgs
Raises the list of events
Protected methodRemoveEventTHandler
Removes the event from the list
Public methodReset
Resets the number of executions of the event
Public methodSetParent
Sets the parent event of the event
Top
See Also