DebugExtensions WhenCalledFrom TEvent  Method (TEvent,  Action )Kentico 8.0 API Reference
Adds condition to check if the handler is called from specific stack trace

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

ev
Type: TEvent
Event object
methods
Type:  OnlineSystem Action 
Methods to match at the stack trace

Return Value

Type: TEvent
See Also