xtd - Reference Guide 0.2.0
event_handler.h File Reference
#include "delegate.h"
#include "event.h"
#include "event_args.h"


Contains xtd::event_handler event handler.

Include dependency graph for event_handler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.


using xtd::event_handler = generic_event_handler<>
 Represents the method that will handle an event that has no event data. More...
template<typename event_args_t = const xtd::event_args&>
using xtd::generic_event_handler = xtd::delegate< void(xtd::object &sender, event_args_t e)>
 Represents the method that will handle an event when the event provides data. More...