public static Node <T[], TNewOutput> ForArray <T, TNewOutput>(this SinkNode <T> thisNode, Func <T[], TNewOutput[]> processOutputsFunc) { var node = new FuncNode <T[], TNewOutput>(processOutputsFunc); node.SetInput(thisNode); return(node); }
public SinkNode <TOutput> CollectAllOutputsToOneArray() { var node = new SinkNode <TOutput>(); node.SetInput(this); return(node); }
public static Node <T[], TNewOutput> ForArray <T, TNewOutput>(this SinkNode <T> thisNode, Node <T[], TNewOutput> processOutputsNode) { processOutputsNode.SetInput(thisNode); return(processOutputsNode); }