Example #1
0
 public static void PauseForXMinutes(int minutesPaused)
 {
     minutesPaused = (int)TimeSpanUtil.ConvertMinutesToMilliseconds(minutesPaused);
     System.Threading.Thread.Sleep(minutesPaused);
 }
Example #2
0
 public static void PauseForXSeconds(int secondsPaused)
 {
     secondsPaused = (int)TimeSpanUtil.ConvertMillisecondsToSeconds(secondsPaused);
     System.Threading.Thread.Sleep(secondsPaused);
 }