public static void DelayExecution(this TaskScheduler taskScheduler, int milliseconds, Action action) { taskScheduler.DelayExecution(TimeSpan.FromMilliseconds(milliseconds), action); }