public AgentConfigurationService(IAgentConfigurationDataAccessor agentConfigurationDataAccessor, IDefaultAgentConfigurationProvider defaultAgentConfigurationProvider, IKnownAgentsProvider knownAgentsProvider) { if (agentConfigurationDataAccessor == null) { throw new ArgumentNullException("agentConfigurationDataAccessor"); } if (defaultAgentConfigurationProvider == null) { throw new ArgumentNullException("defaultAgentConfigurationProvider"); } if (knownAgentsProvider == null) { throw new ArgumentNullException("knownAgentsProvider"); } this.agentConfigurationDataAccessor = agentConfigurationDataAccessor; this.defaultAgentConfigurationProvider = defaultAgentConfigurationProvider; this.knownAgentsProvider = knownAgentsProvider; }