5 references to SwitchValue
System.Configuration.ConfigurationManager (5)
System\Diagnostics\SourceElementsCollection.cs (1)
76if (!string.IsNullOrEmpty(SwitchName) && !string.IsNullOrEmpty(SwitchValue))
System\Diagnostics\TraceConfiguration.cs (4)
59if (!string.IsNullOrEmpty(sourceElement.SwitchValue)) 61traceSource.Switch.Level = Enum.Parse<SourceLevels>(sourceElement.SwitchValue); 78if (!string.IsNullOrEmpty(sourceElement.SwitchValue)) 80traceSource.Switch.Level = Enum.Parse<SourceLevels>(sourceElement.SwitchValue);