Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Provides data for the environment program exit event. This class cannot be inherited.
Definition program_exit_event_args.h:16
xtd::exit_mode exit_mode() const noexcept
Gets the exit mode.
Definition program_exit_event_args.h:39
program_exit_event_args()=default
Initializes a new instance of the program_exit_event_args class.
program_exit_event_args(xtd::exit_mode exit_mode)
Initializes a new instance of the program_exit_event_args class.
Definition program_exit_event_args.h:26
Contains xtd::event_args event args.
Contains xtd::exit_mode enum class.
exit_mode
Specifies exit mode for the xtd::environment::program_exit event.
Definition exit_mode.h:18
@ normal
Represent the exit mode when the terminates normally (via xtd::environment::exit or returning from th...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10