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