6#include "../collections/generic/dictionary.hpp"
8#include "../iequatable.hpp"
9#include "../object.hpp"
10#include "../string.hpp"
16 namespace diagnostics {
51 xtd::collections::generic::dictionary<
xtd::
string,
xtd::
string>& attributes() noexcept;
54 void attributes(const
xtd::collections::generic::dictionary<
xtd::
string,
xtd::
string>& attributes) noexcept;
59 const
xtd::
string& description() const noexcept;
64 const
xtd::
string& display_name() const noexcept;
73 bool equals(const
xtd::
object& obj) const noexcept override;
77 bool equals(const
switch_base& other) const noexcept override;
96 switch_base(const
xtd::
string& display_name, const
xtd::
string& description, const
xtd::
string& default_switch_value);
104 int32 switch_setting() const noexcept;
107 void switch_setting(
int32 switch_setting);
114 const
xtd::
string& value() const noexcept;
120 void value(const
xtd::
string& value);
131 virtual
xtd::
array<
xtd::
string> get_supported_attributes() const noexcept;
134 virtual
void on_switch_setting_changed();
140 virtual
void on_value_changed();
144 xtd::
string display_name_;
145 xtd::
string description_;
147 int32 switch_setting_ = 0;
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:59
Represents a collection of keys and values.
Definition dictionary.hpp:67
Provides an abstract base class to create new debugging and tracing switches.
Definition switch_base.hpp:36
const xtd::collections::generic::dictionary< xtd::string, xtd::string > & attributes() const noexcept
Gets the custom switch attributes.
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:44
#define core_export_
Define shared library export.
Definition core_export.hpp:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::diagnostics::source_levels enum class.