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

◆ switch_base() [2/2]

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

Initializes a new instance of the switch_base class.

Parameters
display_nameThe name of the switch.
descriptionThe description for the switch.
default_switch_valueThe default value for the switch.
Remarks
The display_name parameter is used to set the value of the display_name property, and the description parameter is use to set the value of the description property. The default_switch_value parameter is the value for the switch if the value property is not set by code.