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

◆ on_value_changed()

void xtd::diagnostics::source_switch::on_value_changed ( )
overrideprotectedvirtual

Invoked when the value of the value property changes.

Remarks
The on_value_changed method converts the new value of the value property to the integer representation of the matching field in the source_levels enumeration, and then uses this integer to set the switch_setting property.

Reimplemented from xtd::diagnostics::switch_base.