ConditionalEvent TArgs  MembersKentico 8.1 API Reference
The ConditionalEvent TArgs  type exposes the following members.
Constructors

  NameDescription
Public methodConditionalEvent TArgs 
Back to Top
Methods

  NameDescription
Public methodCall(Action)
Calls the given handler
(Inherited from ConditionalEventBase TEvent, TArgs .)
Public methodCall(Action TArgs )
Calls the given handler
(Inherited from ConditionalEventBase TEvent, TArgs .)
Public methodCall(EventHandler TArgs )
Calls the given handler
(Inherited from ConditionalEventBase TEvent, TArgs .)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodExecuteHandler
Executes the handler
(Inherited from ConditionalEventBase TEvent, TArgs .)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetHandler
Implicit operator to convert to event handler
(Inherited from ConditionalEventBase TEvent, TArgs .)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodRepeat
Sets the number of allowed calls to the event
(Inherited from ConditionalEventBase TEvent, TArgs .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodWhen(Func Boolean )
Adds the condition to the conditional event
(Inherited from ConditionalEventBase TEvent, TArgs .)
Public methodWhen(Func TArgs, Boolean )
Adds the condition to the conditional event
(Inherited from ConditionalEventBase TEvent, TArgs .)
Public methodWhen(ConditionalEventBase TEvent, TArgs  ConditionFunction)
Adds the condition to the conditional event
(Inherited from ConditionalEventBase TEvent, TArgs .)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Protected propertyConditions
Condition for the handler execution. If set, must return true in order to execute the handler
(Inherited from ConditionalEventBase TEvent, TArgs .)
Protected propertyHandler
Handler to execute
(Inherited from ConditionalEventBase TEvent, TArgs .)
Protected propertyRepeats
Number of repeats of the action
(Inherited from ConditionalEventBase TEvent, TArgs .)
Protected propertyTypedThis
Strongly typed identity
(Inherited from ConditionalEventBase TEvent, TArgs .)
Back to Top
See Also