Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentHost"/> class.
 /// </summary>
 /// <param name="testRunner">The test runner.</param>
 /// <param name="modules">The agents' external modules.</param>
 /// <param name="configuration">The configuration.</param>
 /// <param name="parameters">The parameters.</param>
 /// <param name="log">The log.</param>
 public AgentHost(Agent testRunner,
     IEnumerable<IAgentExternalModule> modules,
     AgentConfiguration configuration,
     AgentParameters parameters,
     ILog log)
 {
     TestRunner = testRunner;
     this.modules = modules;
     this.configuration = configuration;
     this.parameters = parameters;
     this.log = log;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentDependenciesModule"/> class.
 /// </summary>
 /// <param name="agentConfiguration">The agent configuration.</param>
 /// <param name="args"></param>
 public AgentDependenciesModule(AgentConfiguration agentConfiguration, string[] args)
 {
     this.args = args;
     AgentConfiguration = agentConfiguration;
 }