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
TArgs
, 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
<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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com