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 | |
---|---|---|
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.) |
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 | |
---|---|---|
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.) |