Click or drag to resize

DevToolsClient.AddEventHandler<T> Method

Version 107.1.120

Namespace:  CefSharp.DevTools
Assembly:  CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
public void AddEventHandler<T>(
	string eventName,
	EventHandler<T> eventHandler
)
where T : EventArgs

Parameters

eventName
Type: System.String
is the event name to listen to
eventHandler
Type: System.EventHandler<T>
event handler to call when the event occurs

Type Parameters

T
The event args type to which the event will be deserialized to.

Implements

IDevToolsClient.AddEventHandler<T>(String, EventHandler<T>)
See Also