System.Diagnostics.Switch.RefreshAll C# (CSharp) Method

RefreshAll() static private method

static private RefreshAll ( ) : void
return void
        internal static void RefreshAll()
        {
            lock (s_switches)
            {
                _pruneCachedSwitches();
                for (int i = 0; i < s_switches.Count; i++)
                {
                    Switch swtch = ((Switch)s_switches[i].Target);
                    if (swtch != null)
                    {
                        swtch.Refresh();
                    }
                }
            }
        }

Usage Example

Esempio n. 1
0
 public static void Refresh()
 {
     OnRefreshing();
     Switch.RefreshAll();
     TraceSource.RefreshAll();
     TraceInternal.Refresh();
 }
All Usage Examples Of System.Diagnostics.Switch::RefreshAll