Ejemplo n.º 1
0
 protected override void OnStop()
 {
     Container.Resolve <IParallelOperations>().ExecuteParallel(delegate
     {
         WaitEvent.WaitOne();
         throw new Exception("Test");
     });
 }
Ejemplo n.º 2
0
 public bool Wait(TimeSpan waitTime)
 {
     return(WaitEvent.WaitOne(waitTime));
 }