ActionPortModel(NodeModel, Boolean, ParameterType, ActionFlowPortType, IconColor, IconName, String, ActionPortModel) Constructor
Constructor for when we are creating new ports for new nodes.
Namespace: MobileTrack.Web.Components.Models.ActionFlowsAssembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
internal ActionPortModel(
NodeModel parent,
bool isInput,
ParameterType propertyType,
ActionFlowPortType portType,
IconColor portColor,
IconName portIcon,
string? label = null,
ActionPortModel? dependentOn = null
)
Parameters
- parent NodeModel
- The node this port belongs to
- isInput Boolean
- If , this is an input port, otherwise output.
- propertyType ParameterType
- Type of data that streams in or out from this connection
- portType ActionFlowPortType
- Label for this port. Must be a string that can be localized in frontend.
- portColor IconColor
- Color of the port
- portIcon IconName
- Icon to be shown in the port
- label String (Optional)
- Port label. if not assigned, propertyType will be used instead.
- dependentOn ActionPortModel (Optional)
- If assigned, this port's AssignedType will change to the AssignedType of another port.