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

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

Parameters

condition
Type: SystemFuncTArgs, Boolean

Return Value

Type: TEvent
See Also