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

Parameters

condition
Type: System.Func<TArgs, Boolean>

Return Value

Type: TEvent
See Also