public PlatformService(IPlatformSettingsFactory settingsFactory, IPlatformDataConnector dataConnector, IAgentFactory agentFactory, ILocationFactory locationFactory) { SettingsFactory = settingsFactory; DataConnector = dataConnector; AgentFactory = agentFactory; LocationFactory = locationFactory; }
public AgentFactory(IPlatformDataConnector dataConnector, IPlatformSettingsFactory settingsFactory) { this.DataConnector = dataConnector ?? throw new ArgumentNullException("dataConnector"); this.SettingsFactory = settingsFactory ?? throw new ArgumentNullException("settingsFactory"); }
public LogicEvaluatorTypeFactory(IPlatformSettingsFactory settingsFactory, IPlatformDataConnector dataConnector, IDeferredActivator activator) { this.SettingsFactory = settingsFactory ?? throw new ArgumentNullException("settingsFactory"); this.DataConnector = dataConnector ?? throw new ArgumentNullException("dataConnector"); this.Activator = activator ?? throw new ArgumentNullException("activator"); }