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+45c8d9adb5970d727cceec44a5ed61aea0016e50
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