Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Base 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: 12.0.0
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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com