Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        public SinkNode <TOutput> CollectAllOutputsToOneArray()
        {
            var node = new SinkNode <TOutput>();

            node.SetInput(this);
            return(node);
        }
Exemplo n.º 3
0
 public static Node <T[], TNewOutput> ForArray <T, TNewOutput>(this SinkNode <T> thisNode, Node <T[], TNewOutput> processOutputsNode)
 {
     processOutputsNode.SetInput(thisNode);
     return(processOutputsNode);
 }