public IBuilder RunProcess <TProcess>(IWorkItemArguments args) where TProcess : ProcessBase, new() { _workItems.Add(new WorkItem <TProcess>(args)); _processHosts.Add(new HostProcess <TProcess>(SendAsync)); return(this); }
protected WorkItemBase(IWorkItemArguments arguments) { this.Arguments = arguments; }
public WorkItem(IWorkItemArguments args) : base(args) { }