3 instantiations of ListenerElement
System.Configuration.ConfigurationManager (3)
System\Diagnostics\ListenerElementsCollection.cs (3)
21
protected override ConfigurationElement CreateNewElement() => new
ListenerElement
(true);
45
ListenerElement defaultListener = new
ListenerElement
(false);
75
protected override ConfigurationElement CreateNewElement() => new
ListenerElement
(false);
17 references to ListenerElement
System.Configuration.ConfigurationManager (17)
System\Diagnostics\DiagnosticsConfiguration.cs (1)
185
foreach (
ListenerElement
lnelem in configSectionSav.SharedListeners)
System\Diagnostics\ListenerElementsCollection.cs (15)
14
[ConfigurationCollection(typeof(
ListenerElement
))]
17
public new
ListenerElement
this[string name] => (
ListenerElement
)BaseGet(name);
23
protected override object GetElementKey(ConfigurationElement element) => ((
ListenerElement
)element).Name;
29
foreach (
ListenerElement
element in this)
45
ListenerElement
defaultListener = new ListenerElement(false);
55
ListenerElement
listenerElement = element as
ListenerElement
;
69
[ConfigurationCollection(typeof(
ListenerElement
),
163
ListenerElement
compareToElem = compareTo as
ListenerElement
;
196
ListenerElement
sharedListener = DiagnosticsConfiguration.SharedListeners[Name];
280
ListenerElement
le = sourceElement as
ListenerElement
;
322
ListenerElement
sharedListener = DiagnosticsConfiguration.SharedListeners[Name];
System\Diagnostics\TraceConfiguration.cs (1)
87
foreach (
ListenerElement
listenerElement in sourceElement.Listeners)