43 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::forms::close_reason> {{
xtd::forms::close_reason::none,
"none"}, {
xtd::forms::close_reason::windows_shut_down,
"windows_shut_down"}, {
xtd::forms::close_reason::mdi_form_closing,
"mdi_form_closing"}, {
xtd::forms::close_reason::user_closing,
"user_closing"}, {
xtd::forms::close_reason::task_manager_closing,
"task_manager_closing"}, {
xtd::forms::close_reason::form_owner_closing,
"form_owner_closing"}, {
xtd::forms::close_reason::application_exit_call,
"application_exit_call"}};}
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38