Constructor SimulatedTool
SimulatedTool(ITool)
Creates a simulation of inner for testing.
public SimulatedTool(ITool inner)
Parameters
innerIToolThe tool to answer for; its name, description and schema are kept.
Exceptions
- ArgumentNullException
Thrown when
inneris null.
SimulatedTool(ITool, SimulationPurpose)
Creates a simulation of inner for purpose.
public SimulatedTool(ITool inner, SimulatedTool.SimulationPurpose purpose)
Parameters
innerIToolThe tool to answer for; its name, description and schema are kept.
purposeSimulatedTool.SimulationPurposeWhy the tool is simulated.
Exceptions
- ArgumentNullException
Thrown when
inneris null.