NodeBase Constructor

Default constructor.

Definition

Namespace: MobileTrack.EventHandler.NodeHandlers
Assembly: MobileTrack.EventHandler (in MobileTrack.EventHandler.exe) Version: 0.8+f6fd7a919db8417bc1e7bfd9b2ff9ab9586e296a
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