Ejemplo n.º 1
0
 public SystemDiagnosticsConfigurationSection()
 {
     base["assert"] = new AssertElement();
     base["performanceCounters"] = new PerformanceCountersElement();
     base["sources"]             = new SourceElementCollection();
     base["sharedListeners"]     = new TraceListenerElementCollection(true);
     base["switches"]            = new SwitchElementCollection();
     base["trace"] = new TraceElement();
 }
Ejemplo n.º 2
0
 public SourceElement()
 {
     base["listeners"] = new TraceListenerElementCollection(true);
 }