Beispiel #1
0
 public PipeTask(Task <T> task)
 {
     this.task = task;
     task.ContinueWith(t => OutgoingPipes.FireEvent(t.Result));
 }
Beispiel #2
0
 /// <summary>
 ///     When item comes in, call this method! - Required!
 /// </summary>
 /// <param name="o"></param>
 public virtual void IncomingItem(T o)
 {
     OutgoingPipes.FireEvent(o);
 }