ActionNodeBase Constructor

Default constructor

Definition

Namespace: MobileTrack.Web.Components.Models.ActionFlows
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
protected internal ActionNodeBase(
	bool deletable,
	ModalDropdownOptions options,
	ActionFlowNodeType type,
	IconName icon,
	Guid id,
	Point? position = null,
	bool isStatic = false,
	string? label = null
)

Parameters

deletable  Boolean
Whether the node can be deleted by the user
options  ModalDropdownOptions
Dropdown options for the ports
type  ActionFlowNodeType
Type of node
icon  IconName
Icon to display
id  Guid
ID of the node
position  Point  (Optional)
Position on the map (can be left empty to place it center stage of the viewport)
isStatic  Boolean  (Optional)
Whether the node is fixed into position
label  String  (Optional)
Override name of the node; if left empty, the type will be used instead.

Exceptions

ArgumentNullExceptionThrown if options is
ArgumentExceptionThrown if type is left empty.

See Also