xtd 0.2.0
Loading...
Searching...
No Matches
event_handler.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "delegate.hpp"
6#include "event.hpp"
7#include "event_args.hpp"
8
10namespace xtd {
11
21 template<typename event_args_t = const xtd::event_args&>
22 using generic_event_handler = xtd::delegate<void(xtd::object& sender, event_args_t e)>;
23
33}
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
Contains xtd::delegate delegate.
Contains xtd::event event.
Contains xtd::event_args event args.
generic_event_handler<> event_handler
Represents the method that will handle an event that has no event data.
Definition event_handler.hpp:32
xtd::delegate< void(xtd::object &sender, event_args_t e)> generic_event_handler
Represents the method that will handle an event when the event provides data.
Definition event_handler.hpp:22
@ e
The E key.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10