Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Diagnostics.SourceSwitch Class Reference

Public Member Functions

 SourceSwitch (string name)
 
 SourceSwitch (string displayName, string defaultSwitchValue)
 
bool ShouldTrace (TraceEventType eventType)
 

Protected Member Functions

override void OnValueChanged ()
 
virtual void OnSwitchSettingChanged ()
 

Package Functions

virtual ? string[] GetSupportedAttributes ()
 
void Refresh ()
 

Static Package Functions

static void RefreshAll ()
 

Properties

SourceLevels Level [get, set]
 
object InitializedLock [get]
 
string DisplayName [get]
 
string Description [get]
 
StringDictionary Attributes [get]
 
int SwitchSetting [get, set]
 
string Value [get, set]
 

Private Member Functions

void Initialize ()
 
bool InitializeWithStatus ()
 

Static Private Member Functions

static void _pruneCachedSwitches ()
 

Private Attributes

readonly string _description
 
readonly string _displayName
 
int _switchSetting
 
volatile bool _initialized
 
bool _initializing
 
volatile string _switchValueString = string.Empty
 
readonly string _defaultValue
 
object _initializedLock
 
StringDictionary _attributes
 

Static Private Attributes

static readonly List< WeakReference< Switch > > s_switches = new List<WeakReference<Switch>>()
 
static int s_LastCollectionCount
 

Detailed Description

Definition at line 3 of file SourceSwitch.cs.


The documentation for this class was generated from the following file: