SimpleHandlerTHandler, TArgs Class |
Namespace: CMS.Base
public abstract class SimpleHandler<THandler, TArgs> : AbstractHandler where THandler : new(), SimpleHandler<THandler, TArgs> where TArgs : new(), EventArgs
The SimpleHandlerTHandler, TArgs type exposes the following members.
Name | Description | |
---|---|---|
SimpleHandlerTHandler, TArgs |
Name | Description | |
---|---|---|
AddEventTHandler |
Adds the event to the list
(Inherited from AbstractHandler.) | |
AssignCurrentHandler |
Assigns the current handler to the event arguments
(Inherited from AbstractHandler.) | |
Clear |
Clears all bound event handlers from the event and resets the number of executions of the event
(Overrides AbstractHandlerClear.) | |
CountExecution |
Counts the execution of the event
(Inherited from AbstractHandler.) | |
Dispose |
Disposes the object
(Inherited from AbstractHandler.) | |
CheckBase |
Checks if the handler is base handler instance, and fires an exception if not
(Inherited from AbstractHandler.) | |
CheckEvent |
Checks if the handler is event handler instance, and fires an exception if not
(Inherited from AbstractHandler.) | |
RaiseTArgs |
Raises the list of events
(Inherited from AbstractHandler.) | |
RaiseExecute |
Raises the execute event
| |
RemoveEventTHandler |
Removes the event from the list
(Inherited from AbstractHandler.) | |
Reset |
Resets the number of executions of the event
(Inherited from AbstractHandler.) | |
SetParent |
Sets the parent event of the event
(Overrides AbstractHandlerSetParent(AbstractHandler).) | |
StartEvent |
Initiates the new handler context
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) |
Name | Description | |
---|---|---|
mExecutions |
Number of executions of the event
(Inherited from AbstractHandler.) |
Name | Description | |
---|---|---|
ControlRecursion |
If true, the recursion control is enabled on this handler.
(Inherited from AbstractHandler.) | |
Debug |
If true, the handler is included in debug
(Inherited from AbstractHandler.) | |
EventArguments |
Handler arguments
| |
IsBound |
Returns true if the handler has some events bound
| |
IsStatic |
True, if the handler is a static handler
(Inherited from AbstractHandler.) | |
Name |
Event name. The name serves for debug purposes and to uniquely identify the handler.
(Inherited from AbstractHandler.) | |
OneTime |
If true, this event can be executed only once. If the event was already executed, and new handler is added, it executes immediately.
(Inherited from AbstractHandler.) | |
Parent |
Parent handler
| |
WasExecuted |
Returns true if the event was already executed
(Inherited from AbstractHandler.) |