Method AddDynamicPort
AddDynamicPort(GraphDescriptor, NodeDescriptor, string, Type, PortDirection, FieldExtra)
Add a dynamic port on a node
Declaration
public static PortDescriptor AddDynamicPort(GraphDescriptor desc, NodeDescriptor node, string portName, Type portType, PortDirection direction, FieldExtra extra)
Parameters
| Type | Name | Description | 
|---|---|---|
| GraphDescriptor | desc | The GraphDescriptor  | 
    
| NodeDescriptor | node | The node on which to add a Port  | 
    
| string | portName | The name of the port  | 
    
| Type | portType | The type of the Port to add  | 
    
| PortDirection | direction | The direction of the port on the node  | 
    
| FieldExtra | extra | The extra field information to attribute to this Port  | 
    
Returns
| Type | Description | 
|---|---|
| PortDescriptor | Returns a new PortDescriptor  |