DebugExtensions WhenCalledFrom TEvent  Method (TEvent,  Action )Kentico 8.1 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.1.5347.20411)

Parameters

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

Return Value

Type: TEvent
See Also