xtd 0.2.0
Loading...
Searching...
No Matches

◆ switch_base() [1/2]

xtd::diagnostics::switch_base::switch_base ( const xtd::string display_name,
const xtd::string description 
)
protected

Initializes a new instance of the switch_base class.

Parameters
display_nameThe name of the switch.
descriptionThe description for the switch.
Remarks
When you create a new switch_base object, the value of the display_name parameter is used to find initial switch settings. The default value is an empty string ("").
Notes to inheritors
To set the value of the switch, set the switch_setting property in the constructor.