private IRunnableFuture <T> NewTaskFor(ICallable <T> task)
 {
     if (_aes == null)
     {
         return(new FutureTask <T>(task));
     }
     else
     {
         return(_aes.NewTaskFor(task));
     }
 }
Пример #2
0
 private IRunnableFuture <T> NewTaskFor(ICallable <T> task)
 {
     return(_aes == null ? new FutureTask <T>(task) : _aes.NewTaskFor(task));
 }