BeforeConditionalEventTArgs Class |
Namespace: CMS.Base
public class BeforeConditionalEvent<TArgs> : ConditionalEventBase<BeforeConditionalEvent<TArgs>, TArgs> where TArgs : EventArgs
The BeforeConditionalEventTArgs type exposes the following members.
Name | Description | |
---|---|---|
BeforeConditionalEventTArgs |
Name | Description | |
---|---|---|
CancelEvent |
If true, the event is canceled after calling the handler
| |
Conditions |
Condition for the handler execution. If set, must return true in order to execute the handler
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
Handler |
Handler to execute
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
Repeats |
Number of repeats of the action
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
TypedThis |
Strongly typed identity
(Inherited from ConditionalEventBaseTEvent, TArgs.) |
Name | Description | |
---|---|---|
Call(Action) |
Calls the given handler
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
Call(ActionTArgs) |
Calls the given handler
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
Call(EventHandlerTArgs) |
Calls the given handler
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
ExecuteHandler |
Executes the handler
(Overrides ConditionalEventBaseTEvent, TArgsExecuteHandler(Object, TArgs).) | |
GetHandler |
Implicit operator to convert to event handler
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
Repeat |
Sets the number of allowed calls to the event
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
ThenCancel |
Ensures that the event gets cancelled after this handler is called
| |
ThenContinue |
Ensures that the event continues after this handler is called. Also dismissed the ThenCancel call.
| |
When(FuncBoolean) |
Adds the condition to the conditional event
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
When(FuncTArgs, Boolean) |
Adds the condition to the conditional event
(Inherited from ConditionalEventBaseTEvent, TArgs.) | |
When(ConditionalEventBaseTEvent, TArgsConditionFunction) |
Adds the condition to the conditional event
(Inherited from ConditionalEventBaseTEvent, TArgs.) |