xtd 0.2.0
Loading...
Searching...
No Matches
program_exit_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include "event_args.h"
6#include "exit_mode.h"
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.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