public static void AdvanceByMilliSeconds(this TestScheduler source, int seconds) { if (source == null) throw new ArgumentNullException(nameof(source)); source.AdvanceBy(TimeSpan.FromMilliseconds(seconds).Ticks); }
public static void AdvanceBy(this TestScheduler scheduler, TimeSpan timespan) { scheduler.AdvanceBy(timespan.Ticks); }
public static void AdvanceBy(this TestScheduler scheduler, TimeSpan duration) { scheduler.AdvanceBy(duration.Ticks); }