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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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