AbstractHandler MembersKentico 8.1 API Reference
The AbstractHandler type exposes the following members.
Constructors

  NameDescription
Protected methodAbstractHandler
Back to Top
Methods

  NameDescription
Protected methodAddEvent THandler 
Adds the event to the list
Protected methodAssignCurrentHandler
Assigns the current handler to the event arguments
Public methodClear
Clears all bound event handlers from the event and resets the number of executions of the event
Public methodStatic memberClearAllHandlers
Clears all bound event handlers from all events
Protected methodCountExecution
Counts the execution of the event
Public methodDispose
Disposes the object
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberForAllHandlers
Performs the given operation on all handlers
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
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
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodRaise TArgs 
Raises the list of events
Protected methodRemoveEvent THandler 
Removes the event from the list
Public methodReset
Resets the number of executions of the event
Public methodStatic memberResetAllHandlers
Resets all bound event handlers from all events
Public methodSetParent
Sets the parent event of the event
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Fields

  NameDescription
Protected fieldmExecutions
Number of executions of the event
Back to 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
Back to Top
See Also