xtd 0.2.0
Loading...
Searching...
No Matches
event_handler.h File Reference
#include "delegate.h"
#include "event.h"
#include "event_args.h"

Definition

Contains xtd::event_handler event handler.

Go to the source code of this file.

Namespaces

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

Typedefs

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.
 
using xtd::event_handler = generic_event_handler<>
 Represents the method that will handle an event that has no event data.