public new SerialTaskCollection <Token> Add(ITaskChain <Token> task) { if (task == null) { throw new ArgumentNullException(); } base.Add(task); return(this); }
public TaskCollection Add(ITaskChain <Token> task) { if (task == null) { throw new ArgumentNullException(); } Add(new TaskWrapper <Token>(task) { token = _token }); return(this); }
protected override void ProcessTask(ref ITaskChain <Token> current) { current.token = token; }
public TaskWrapper(ITaskChain <Token> task) : base(task) { }