Click or drag to resize
ConditionalEventBaseTEvent, TArgsWhen Method (FuncBoolean)
Adds the condition to the conditional event

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public TEvent When(
	Func<bool> condition
)

Parameters

condition
Type: SystemFuncBoolean

Return Value

Type: TEvent

Implements

IConditionalEventTEventWhen(FuncBoolean)
See Also