8 references to SwitchName
System (8)
compmod\system\diagnostics\SourceElementsCollection.cs (1)
118if (!String.IsNullOrEmpty(SwitchName) && !String.IsNullOrEmpty(SwitchValue))
compmod\system\diagnostics\TraceSource.cs (7)
82if (!String.IsNullOrEmpty(sourceElement.SwitchName)) { 83CreateSwitch(sourceElement.SwitchType, sourceElement.SwitchName); 186if (!String.IsNullOrEmpty(sourceElement.SwitchName)) { 187CreateSwitch(sourceElement.SwitchType, sourceElement.SwitchName); 196else if (!String.IsNullOrEmpty(sourceElement.SwitchName)) { 198if (sourceElement.SwitchName != internalSwitch.DisplayName) 199CreateSwitch(sourceElement.SwitchType, sourceElement.SwitchName);