59 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::console_color> {{
xtd::console_color::default_color,
"default_color"}, {
xtd::console_color::black,
"black"}, {
xtd::console_color::dark_blue,
"dark_blue"}, {
xtd::console_color::dark_green,
"dark_green"}, {
xtd::console_color::dark_cyan,
"dark_cyan"}, {
xtd::console_color::dark_red,
"dark_red"}, {
xtd::console_color::dark_magenta,
"dark_magenta"}, {
xtd::console_color::dark_yellow,
"dark_yellow"}, {
xtd::console_color::gray,
"gray"}, {
xtd::console_color::dark_gray,
"dark_gray"}, {
xtd::console_color::blue,
"blue"}, {
xtd::console_color::green,
"green"}, {
xtd::console_color::cyan,
"cyan"}, {
xtd::console_color::red,
"red"}, {
xtd::console_color::magenta,
"magenta"}, {
xtd::console_color::yellow,
"yellow"}, {
xtd::console_color::white,
"white"}};}
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Contains enum_ and enum_ut_ keywords.
The color cyan (blue-green).
console_color
Specifies constants that define foreground and background colors for the console. ...
Definition: console_color.h:19
The color dark yellow (ochre).
The color dark cyan (dark blue-green).
The color dark magenta (dark purplish-red).
The color magenta (purplish red).
Provides the registration struct for enumerations.
Definition: enum_register.h:36