ActionPortModel(NodeModel, PortDto, ActionPortModel) Constructor

Generates a new port model from a PortDto, usually when we are loading a node from the database.

Definition

Namespace: MobileTrack.Web.Components.Models.ActionFlows
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
internal ActionPortModel(
	NodeModel parent,
	PortDto port,
	ActionPortModel? dependentOn = null
)

Parameters

parent  NodeModel
Node the port belongs to
port  PortDto
Port to convert.
dependentOn  ActionPortModel  (Optional)
If assigned, this port's AssignedType will change to the AssignedType of another port.

Exceptions

NullReferenceExceptionThrown if parent or port is

See Also