public static void CanCelAllBy(object o) { for (int i = RunningList.Count - 1; i >= 0; --i) { CacheCommand cmd = RunningList[i]; if (cmd.CancelBy(o)) { cmd.Cancel(); } } }