object ITaskProcessor.Process(SleepTask task) { return ProcessBaseTask(task); }
object ITaskProcessor.Process(SleepTask task) { if(task == null) return null; Console.WriteLine("Sleeps: {0}", task.TimeToSleep); Thread.Sleep(task.TimeToSleep); return null; }