The ConditionalEvent TArgs type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
ConditionalEvent TArgs |
Methods
Name | Description | |
---|---|---|
Call(Action) |
Calls the given handler
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
Call(Action TArgs ) |
Calls the given handler
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
Call(EventHandler TArgs ) |
Calls the given handler
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
Equals | (Inherited from Object.) | |
ExecuteHandler |
Executes the handler
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHandler |
Implicit operator to convert to event handler
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Repeat |
Sets the number of allowed calls to the event
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
When(Func Boolean ) |
Adds the condition to the conditional event
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
When(Func TArgs, Boolean ) |
Adds the condition to the conditional event
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
When(ConditionalEventBase TEvent, TArgs ConditionFunction) |
Adds the condition to the conditional event
(Inherited from ConditionalEventBase TEvent, TArgs .) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
Properties
Name | Description | |
---|---|---|
Conditions |
Condition for the handler execution. If set, must return true in order to execute the handler
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
Handler |
Handler to execute
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
Repeats |
Number of repeats of the action
(Inherited from ConditionalEventBase TEvent, TArgs .) | |
TypedThis |
Strongly typed identity
(Inherited from ConditionalEventBase TEvent, TArgs .) |
See Also