DevToolsClientAddEventHandlerT Method |
Version 101.0.180
Namespace:
CefSharp.DevTools
Assembly:
CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax public void AddEventHandler<T>(
string eventName,
EventHandler<T> eventHandler
)
where T : EventArgs
public:
generic<typename T>
where T : EventArgs
virtual void AddEventHandler(
String^ eventName,
EventHandler<T>^ eventHandler
) sealed
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.
Implements
IDevToolsClientAddEventHandlerT(String, EventHandlerT)See Also