1 write to _switch
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
124
_switch
= new BooleanSwitch(switchName, $"[{name}]");
8 references to _switch
PresentationFramework (8)
MS\Internal\Documents\DocumentsTrace.cs (8)
131
_switch
.Enabled = initialState;
139
if (
_switch
.Enabled)
141
System.Diagnostics.Trace.WriteLine($"{
_switch
.Description} {
_switch
.DisplayName} : {message}");
150
if (
_switch
.Enabled)
191
_switch
.Enabled = true;
199
_switch
.Enabled = false;
208
return
_switch
.Enabled;