Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RefreshAll()

static void System.Diagnostics.Switch.RefreshAll ( )
inlinestaticpackageinherited

Definition at line 202 of file Switch.cs.

203 {
205 {
207 for (int i = 0; i < s_switches.Count; i++)
208 {
209 if (s_switches[i].TryGetTarget(out var target))
210 {
211 target.Refresh();
212 }
213 }
214 }
215 }
static readonly List< WeakReference< Switch > > s_switches
Definition Switch.cs:26
static void _pruneCachedSwitches()
Definition Switch.cs:137

References System.Diagnostics.Switch._pruneCachedSwitches(), and System.Diagnostics.Switch.s_switches.

Referenced by System.Diagnostics.Trace.Refresh().