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: 13.0.131
Syntax
C#
public TEvent When(
	Func<TArgs, bool> condition
)

Parameters

condition
Type: SystemFuncTArgs, Boolean

Return Value

Type: TEvent
See Also