8#include "../iequatable.h"
10#include "../ustring.h"
16 namespace diagnostics {
46 const std::map<xtd::ustring, xtd::ustring>&
attributes() const noexcept;
68 bool equals(const
switch_base& value) const noexcept override;
95 int32 switch_setting() const noexcept;
98 void switch_setting(
int32 switch_setting);
122 virtual std::vector<
xtd::
ustring> get_supported_attributes() const noexcept;
125 virtual
void on_switch_setting_changed();
131 virtual
void on_value_changed();
138 int32 switch_setting_ = 0;
Provides an abstract base class to create new debugging and tracing switches.
Definition switch_base.h:34
const std::map< xtd::ustring, xtd::ustring > & 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.h:18
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:32
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define core_export_
Define shared library export.
Definition core_export.h:13
int_least32_t int32
Represents a 32-bit signed integer.
Definition types.h:131
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::diagnostics::source_levels enum class.