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