Click or drag to resize

ControllerBaseFireAndLogEventHandlers Method

Logs execution times for event handlers using System.Diagnostics

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
protected static void FireAndLogEventHandlers(
	string eventType,
	Delegate[] invocationList,
	EventArgs args
)

Parameters

eventType
Type: SystemString
invocationList
Type: SystemDelegate
Must contain a delegate which takes an EventArgs argument as the only argument. which is the footprint of most event handlers in Omada.OE controllers. It is unlike a normal EventHander which takes the calling instance as the first argument.
args
Type: SystemEventArgs
See Also