Пример #1
0
        public Node ReplaceInput(NodeInput oldNI, NodeInput newNI)
        {
            var newInputs = Inputs.Replace(oldNI, newNI);

            return(new Node(Name, Type, Position, newInputs, Outputs));
        }
Пример #2
0
 public Int32 GetInputIndex(NodeInput input)
 {
     return(Inputs.IndexOf(input));
 }