Esempio n. 1
0
 public static void Dequeue(ScheduledItem scheduledItem)
 {
     lock (SyncLock)
     {
         _Runs.Remove(scheduledItem);
     }
 }
 public static void Dequeue(ScheduledItem scheduledItem)
 {
     lock (SyncLock)
     {
         _Runs.Remove(scheduledItem);
     }
 }
        public static void Enqueue(ScheduledItem scheduledItem)
        {
            lock (SyncLock)
            {
                _Runs.RemoveAll(r => r.Key == scheduledItem.Key);

                _Runs.Add(scheduledItem);
            }
        }
Esempio n. 4
0
        public static void Enqueue(ScheduledItem scheduledItem)
        {
            lock (SyncLock)
            {
                _Runs.RemoveAll(r => r.Key == scheduledItem.Key);

                _Runs.Add(scheduledItem);
            }
        }