60 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"}};}
Contains enum_ and enum_ut_ keywords.
console_color
Specifies constants that define foreground and background colors for the console.
Definition console_color.hpp:20
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
@ dark_blue
The color dark blue.
@ dark_gray
The color dark gray.
@ magenta
The color magenta (purplish red).
@ dark_green
The color dark green.
@ cyan
The color cyan (blue-green).
@ dark_red
The color dark red.
@ dark_magenta
The color dark magenta (dark purplish-red).
@ dark_cyan
The color dark cyan (dark blue-green).
@ yellow
The color yellow.
@ default_color
The default color.
@ dark_yellow
The color dark yellow (ochre).
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