Method RegisterTool
RegisterTool(ITool)
Registers a tool. Registering a name that is already present replaces the previous tool.
public void RegisterTool(ITool tool)
Parameters
toolIToolThe tool to expose.
Exceptions
- ArgumentNullException
The tool is
null.- ArgumentException
The tool has no name.