public Connection() { var agentConnection = new AgentConnection(); var loggerFactory = new LoggerFactory(); _connection = new Srv.Agent.Command.Common.Connection((IComAgentConfiguration)agentConnection.Agent, loggerFactory); }
public Connection(IComAgentConfiguration agentConfiguration, ILoggerFactory loggerFactory) { _connection = new Srv.Agent.Command.Common.Connection(agentConfiguration, loggerFactory); }