3 types derived from Switch
System.Diagnostics.TraceSource (3)
System\Diagnostics\BooleanSwitch.cs (1)
14
public class BooleanSwitch :
Switch
System\Diagnostics\SourceSwitch.cs (1)
9
public class SourceSwitch :
Switch
System\Diagnostics\TraceSwitch.cs (1)
13
public class TraceSwitch :
Switch
16 references to Switch
netstandard (1)
netstandard.cs (1)
680
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
Switch
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
533
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
Switch
))]
System.Configuration.ConfigurationManager (2)
System\Diagnostics\TraceConfiguration.cs (2)
20
Switch
.Initializing += InitializingSwitch;
176
Switch
sw = e.Switch;
System.Diagnostics.TraceSource (12)
System\Diagnostics\InitializingSwitchEventArgs.cs (3)
7
/// Provides data for the <see cref="
Switch
.Initializing"/> event.
11
public InitializingSwitchEventArgs(
Switch
@switch)
16
public
Switch
Switch { get; }
System\Diagnostics\Switch.cs (8)
30
private static readonly List<WeakReference<
Switch
>> s_switches = new List<WeakReference<
Switch
>>();
49
/// <para>Initializes a new instance of the <see cref='System.Diagnostics.
Switch
'/>
66
s_switches.Add(new WeakReference<
Switch
>(this));
78
List<WeakReference<
Switch
>> buffer = new List<WeakReference<
Switch
>>(s_switches.Count);
201
/// Occurs when a <see cref="
Switch
"/> needs to be initialized.
280
if (s_switches[i].TryGetTarget(out
Switch
? swtch))
System\Diagnostics\Trace.cs (1)
177
Switch
.RefreshAll();