Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.Base
ConditionalEventBase(TEvent, TArgs) Class
ConditionalEventBase(TEvent, TArgs) Methods
When Method
When Method (Func(Boolean))
When Method (Func(TArgs, Boolean))
When Method (ConditionalEventBase(TEvent, TArgs).ConditionFunction)
ConditionalEventBase
TEvent
,
TArgs
When Method (Func
TArgs
, Boolean
)
Adds the condition to the conditional event
Namespace:
CMS.Base
Assembly:
CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax
C#
Copy
public
TEvent
When
(
Func
<TArgs,
bool
>
condition
)
Parameters
condition
Type:
System
Func
TArgs
,
Boolean
Return Value
Type:
TEvent
See Also
Reference
ConditionalEventBase
TEvent, TArgs
Class
When Overload
CMS.Base Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com