Beispiel #1
0
 protected override void SetUpPorts()
 {
     InPortList.Add(new InPort("condition", this));
     InPortList.Add(new InPort("first", this));
     InPortList.Add(new InPort("second", this));
     OutPortList.Add(new OutPort("result", this));
 }
 public override InPort Expose(int inPortNO)
 {
     if (inPortNO == InPortCount())
     {
         InPort inPort = new InPort($"in{inPortNO}", this);
         InPortList.Add(inPort);
         return(inPort);
     }
     else
     {
         return(base.Expose(inPortNO));
     }
 }
Beispiel #3
0
 protected override void SetUpPorts()
 {
     InPortList.Add(new InPort("x", this));
     OutPortList.Add(new OutPort("y", this));
 }
Beispiel #4
0
 protected override void SetUpPorts()
 {
     InPortList.Add(new InPort("input", this));
 }
Beispiel #5
0
 protected override void SetUpPorts()
 {
     InPortList.Add(new InPort("matrix", this));
     base.SetUpPorts();
 }
Beispiel #6
0
 protected override void SetUpPorts()
 {
     InPortList.Add(new InPort("left", this));
     InPortList.Add(new InPort("right", this));
     OutPortList.Add(new OutPort("result", this));
 }