NodeBase Constructor
Default constructor.
Namespace: MobileTrack.EventHandler.NodeHandlersAssembly: MobileTrack.EventHandler (in MobileTrack.EventHandler.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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.
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.