7 references to SwitchValue
System (7)
compmod\system\diagnostics\SourceElementsCollection.cs (1)
118
if (!String.IsNullOrEmpty(SwitchName) && !String.IsNullOrEmpty(
SwitchValue
))
compmod\system\diagnostics\TraceSource.cs (6)
88
if (!String.IsNullOrEmpty(sourceElement.
SwitchValue
))
89
internalSwitch.Level = (SourceLevels) Enum.Parse(typeof(SourceLevels), sourceElement.
SwitchValue
);
192
if (!String.IsNullOrEmpty(sourceElement.
SwitchValue
))
193
internalSwitch.Level = (SourceLevels) Enum.Parse(typeof(SourceLevels), sourceElement.
SwitchValue
);
205
if (!String.IsNullOrEmpty(sourceElement.
SwitchValue
))
206
internalSwitch.Level = (SourceLevels) Enum.Parse(typeof(SourceLevels), sourceElement.
SwitchValue
);