Refresh() 개인적인 메소드

private Refresh ( ) : void
리턴 void
예제 #1
0
 internal static void RefreshAll()
 {
     lock (switches) {
         for (int i = 0; i < switches.Count; i++)
         {
             Switch swtch = ((Switch)switches[i].Target);
             if (swtch != null)
             {
                 swtch.Refresh();
             }
         }
     }
 }
예제 #2
0
 internal static void RefreshAll()
 {
     lock (switches)
     {
         _pruneCachedSwitches();
         for (int i = 0; i < switches.Count; i++)
         {
             Switch target = (Switch)switches[i].Target;
             if (target != null)
             {
                 target.Refresh();
             }
         }
     }
 }