| ConditionalEventTArgs Class |
Namespace: CMS.Base
public class ConditionalEvent<TArgs> : ConditionalEventBase<ConditionalEvent<TArgs>, TArgs> where TArgs : EventArgs
The ConditionalEventTArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| ConditionalEventTArgs |
| 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
(Inherited from ConditionalEventBaseTEvent, 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.) | |
| 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 | |
|---|---|---|
| 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.) |