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