xtd 0.2.0
Loading...
Searching...
No Matches
program_exit_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "event_args.hpp"
6#include "exit_mode.hpp"
7
9namespace xtd {
17 public:
19
23
28
31 program_exit_event_args& operator =(const program_exit_event_args&) = default;
33
35
39 xtd::exit_mode exit_mode() const noexcept {return exit_mode_;}
41
42 private:
44 };
45}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Provides data for the environment program exit event. This class cannot be inherited.
Definition program_exit_event_args.hpp:16
xtd::exit_mode exit_mode() const noexcept
Gets the exit mode.
Definition program_exit_event_args.hpp: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.hpp: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.hpp: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.hpp:10