Пример #1
0
 protected internal override void GetPorts(PortList portList)
 {
     paramPort = new InputPort <bool>("Is Active", () => defaultIsActive);
     portList.Add(paramPort);
     base.GetPorts(portList);
 }
Пример #2
0
 protected internal override void GetPorts(PortList portList)
 {
     base.GetPorts(portList);
     MessagePort = new InputPort <string>("Message", () => message);
     portList.Add(MessagePort);
 }
Пример #3
0
 protected internal override void GetPorts(PortList portList)
 {
     paramPort = new InputPort <float>("Value", () => defaultValue);
     portList.Add(paramPort);
     base.GetPorts(portList);
 }