Example #1
0
 public Pin ResolveOutputPin(Connection connection)
 {
     if (connection.NodeId != Id)
     {
         throw new InvalidOperationException("Wrong node Uid");
     }
     return(OutputPins.FirstOrDefault(_ => _.Id == connection.PinId));
 }