NodeBase Constructor

Default constructor.

Definition

Namespace: MobileTrack.EventHandler.NodeHandlers
Assembly: MobileTrack.EventHandler (in MobileTrack.EventHandler.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
protected NodeBase(
	NodeDto nodeData,
	CompanyDto currentCompany,
	ILogger logger,
	LinkInfoDto[] links
)

Parameters

nodeData  NodeDto
The node data that this node derives its actions from.
currentCompany  CompanyDto
The company the node is running for.
logger  ILogger
Dependency injected logger
links  LinkInfoDto
Links between nodes in the action flow.

Remarks

Not all nodes require the use of nodeData or currentCompany, but we include them anyway because nodes are instantiated using CreateInstance(IServiceProvider, Type, Object).
We send all potentially needed data to the constructor, but if the constructor won't accept these parameters, it will throw an exception for having extraneous arguments.

See Also