ConditionalEventBaseTEvent, TArgs Class |
Namespace: CMS.Base
public abstract class ConditionalEventBase<TEvent, TArgs> : IConditionalEvent<TEvent> where TEvent : ConditionalEventBase<TEvent, TArgs> where TArgs : EventArgs
The ConditionalEventBaseTEvent, TArgs type exposes the following members.
Name | Description | |
---|---|---|
ConditionalEventBaseTEvent, TArgs |
Constructor
|
Name | Description | |
---|---|---|
Call(Action) |
Calls the given handler
| |
Call(ActionTArgs) |
Calls the given handler
| |
Call(EventHandlerTArgs) |
Calls the given handler
| |
ExecuteHandler |
Executes the handler
| |
GetHandler |
Implicit operator to convert to event handler
| |
Repeat |
Sets the number of allowed calls to the event
| |
When(FuncBoolean) |
Adds the condition to the conditional event
| |
When(FuncTArgs, Boolean) |
Adds the condition to the conditional event
| |
When(ConditionalEventBaseTEvent, TArgsConditionFunction) |
Adds the condition to the conditional event
|
Name | Description | |
---|---|---|
(ConditionalEventBaseTEvent, TArgs to EventHandlerTArgs) |
Implicit operator to convert to event handler
|
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 | |
---|---|---|
Conditions |
Condition for the handler execution. If set, must return true in order to execute the handler
| |
Handler |
Handler to execute
| |
Repeats |
Number of repeats of the action
| |
TypedThis |
Strongly typed identity
|