Beispiel #1
0
 public static void Register(RefreshableResource resource)
 {
     lock (REGISTERED)
     {
         GuardJobActive();
         REGISTERED.Add(new WeakReference <RefreshableResource>(resource));
     }
 }
Beispiel #2
0
 public static void Register(RefreshableResource resource)
 {
     lock (REGISTERED)
     {
         GuardJobActive();
         REGISTERED.Add(new WeakReference<RefreshableResource>(resource));
     }
 }