1 instantiation of SwitchElement
System.Configuration.ConfigurationManager (1)
System\Diagnostics\SwitchElementsCollection.cs (1)
16
protected override ConfigurationElement CreateNewElement() => new
SwitchElement
();
8 references to SwitchElement
System.Configuration.ConfigurationManager (8)
System\Diagnostics\DiagnosticsConfiguration.cs (1)
177
foreach (
SwitchElement
swelem in configSectionSav.Switches)
System\Diagnostics\SwitchElementsCollection.cs (6)
11
[ConfigurationCollection(typeof(
SwitchElement
))]
14
public new
SwitchElement
this[string name] => (
SwitchElement
)BaseGet(name);
17
protected override object GetElementKey(ConfigurationElement element) => ((
SwitchElement
)element).Name;
95
SwitchElement
le = sourceElement as
SwitchElement
;
System\Diagnostics\TraceConfiguration.cs (1)
182
SwitchElement
mySettings = switchSettings[sw.DisplayName];