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); } }
public static void Enqueue(ScheduledItem scheduledItem) { lock (SyncLock) { _Runs.RemoveAll(r => r.Key == scheduledItem.Key); _Runs.Add(scheduledItem); } }