IDevToolsClientAddEventHandlerT Method |
Version 106.0.290
Namespace:
CefSharp.DevTools
Assembly:
CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntax void AddEventHandler<T>(
string eventName,
EventHandler<T> eventHandler
)
where T : EventArgs
generic<typename T>
where T : EventArgs
void AddEventHandler(
String^ eventName,
EventHandler<T>^ eventHandler
)
Parameters
- eventName
- Type: SystemString
is the event name to listen to - eventHandler
- Type: SystemEventHandlerT
event handler to call when the event occurs
Type Parameters
- T
- The event args type to which the event will be deserialized to.
See Also