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

Parameters

condition
Type: SystemFuncTArgs, Boolean

Return Value

Type: TEvent
See Also