Kentico 8.2 API Reference
Kentico 8.2 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
Boolean
)
Adds the condition to the conditional event
Namespace:
CMS.Base
Assembly:
CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
Copy
public
TEvent
When
(
Func
<
bool
>
condition
)
Parameters
condition
Type:
System
Func
Boolean
Return Value
Type:
TEvent
Implements
IConditionalEvent
TEvent
When(Func
Boolean
)
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