xtd 0.2.0
Loading...
Searching...
No Matches
event_handler.h
Go to the documentation of this file.
1
4#pragma once
5#include "delegate.h"
6#include "event.h"
7#include "event_args.h"
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.h: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.h: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.h:22
@ e
The E key.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10