ActionPortModel(NodeModel, Boolean, ParameterType, ActionFlowPortType, IconColor, IconName, String, ActionPortModel, Boolean) Constructor

Constructor for when we are creating new ports for new nodes.

Definition

Namespace: MobileTrack.Web.Components.Models.ActionFlows
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
internal ActionPortModel(
	NodeModel parent,
	bool isInput,
	ParameterType propertyType,
	ActionFlowPortType portType,
	IconColor portColor,
	IconName portIcon,
	string? label = null,
	ActionPortModel? dependentOn = null,
	bool allowMultipleValues = true
)

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.
allowMultipleValues  Boolean  (Optional)
If the port represents a business object, whether it can have multiple values.

See Also