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)); } }
protected override void SetUpPorts() { InPortList.Add(new InPort("x", this)); OutPortList.Add(new OutPort("y", this)); }
protected override void SetUpPorts() { InPortList.Add(new InPort("input", this)); }
protected override void SetUpPorts() { InPortList.Add(new InPort("matrix", this)); base.SetUpPorts(); }
protected override void SetUpPorts() { InPortList.Add(new InPort("left", this)); InPortList.Add(new InPort("right", this)); OutPortList.Add(new OutPort("result", this)); }