Esempio n. 1
0
        public Node ReplaceInput(NodeInput oldNI, NodeInput newNI)
        {
            var newInputs = Inputs.Replace(oldNI, newNI);

            return(new Node(Name, Type, Position, newInputs, Outputs));
        }
Esempio n. 2
0
 public Int32 GetInputIndex(NodeInput input)
 {
     return(Inputs.IndexOf(input));
 }