The AdvancedHandler THandler, TArgs type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
AdvancedHandler THandler, TArgs |
Methods
Name | Description | |
---|---|---|
AddAfter |
Adds the conditional after handler
| |
AddBefore |
Adds the conditional before handler
| |
AddEvent THandler |
Adds the event to the list
(Inherited from AbstractHandler.) | |
AddFailure |
Adds the conditional after handler
| |
AssignCurrentHandler |
Assigns the current handler to the event arguments
(Inherited from AbstractHandler.) | |
Clear |
Clears all bound handlers
(Overrides AbstractHandler Clear .) | |
CountExecution |
Counts the execution of the event
(Inherited from AbstractHandler.) | |
Dispose |
Disposes the object
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
CheckBase |
Checks if the handler is base handler instance, and fires an exception if not
(Inherited from AbstractHandler.) | |
CheckContinue |
Checks whether the action can continue and if not, fires an exception.
| |
CheckEvent |
Checks if the handler is event handler instance, and fires an exception if not
(Inherited from AbstractHandler.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Raise TArgs |
Raises the list of events
(Inherited from AbstractHandler.) | |
RaiseAfter |
Raises the after event
| |
RaiseBefore |
Raises the before event
| |
RaiseFailure |
Raises the failure event
| |
RemoveEvent THandler |
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 AbstractHandler SetParent(AbstractHandler).) | |
StartEvent |
Initiates the new handler context
| |
StartEvent(EventArgs) |
Initiates the new handler context
| |
StartEvent(TArgs, Boolean) |
Initiates the new handler context
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
CanContinue |
Checks whether the context of execution should continue.
(Defined by HandlersExtensions.) | |
DontSupportCancel |
Disables the ability to cancel continuation of the execution context.
(Defined by HandlersExtensions.) | |
FinishEvent |
Finishes the event and raises the After event actions.
(Defined by HandlersExtensions.) | |
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
(Inherited from AbstractHandler.) | |
mSupportsCancel |
If true, the handler supports cancelling of the event
|
Properties
Name | Description | |
---|---|---|
Allow |
If true, the event is allowed to be raised
| |
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
| |
LogItem |
Handlers log item of this handler
| |
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.) | |
WasFinished |
Flag indicating whether the event was finished or not
|
Events
Name | Description | |
---|---|---|
After |
Raised after the event occurs
| |
Before |
Raised before the event occurs
| |
Failure |
Raised in case the event handler didn't properly call finalization
|
See Also