public FeedbackEventProcessor( ILifetimeScope lifetimeScope, ILocationJerkLogic locationJerkLogic) { _configurationProvider = lifetimeScope.Resolve <IConfigurationProvider>(); _locationJerkLogic = locationJerkLogic; }
public FeedbackProcessorFactory( ILocationJerkLogic locationJerkLogic, IConfigurationProvider configurationProvider) { _locationJerkLogic = locationJerkLogic; _configurationProvider = configurationProvider; }
public FeedbackProcessor( ILocationJerkLogic locationJerkLogic, IConfigurationProvider configurationProvider) { this.LastMessageOffset = "-1"; var iotHubConnectionString = configurationProvider.GetConfigurationSettingValue("iotHub.ConnectionString"); _locationJerkLogic = locationJerkLogic; _serviceClient = ServiceClient.CreateFromConnectionString(iotHubConnectionString); }
public ActionProcessorFactory( IActionLogic actionLogic, ILocationJerkLogic locationJerkLogic, IActionMappingLogic actionMappingLogic, IConfigurationProvider configurationProvider) { _actionLogic = actionLogic; _locationJerkLogic = locationJerkLogic; _actionMappingLogic = actionMappingLogic; _configurationProvider = configurationProvider; }
public ActionEventProcessor( ILifetimeScope lifetimeScope, IActionLogic actionLogic, ILocationJerkLogic locationJerkLogic, IActionMappingLogic actionMappingLogic) { _configurationProvider = lifetimeScope.Resolve <IConfigurationProvider>(); _actionLogic = actionLogic; _locationJerkLogic = locationJerkLogic; _actionMappingLogic = actionMappingLogic; }
public ActionProcessor( IActionLogic actionLogic, ILocationJerkLogic locationJerkLogic, IActionMappingLogic actionMappingLogic, IConfigurationProvider configurationProvider) { this.LastMessageOffset = "-1"; _actionLogic = actionLogic; _actionMappingLogic = actionMappingLogic; _configurationProvider = configurationProvider; _locationJerkLogic = locationJerkLogic; }
/// <summary> /// Initializes a new instance of the TelemetryApiController class. /// </summary> /// <param name="deviceTelemetryLogic"> /// The IDeviceRegistryListLogic implementation that the new instance /// will use. /// </param> /// <param name="alertsLogic"> /// The IAlertsLogic implementation that the new instance will use. /// </param> /// <param name="deviceLogic"> /// The IDeviceLogic implementation that the new instance will use. /// </param> public TelemetryApiController( IDeviceTelemetryLogic deviceTelemetryLogic, IAlertsLogic alertsLogic, IDeviceLogic deviceLogic, ILocationJerkLogic locationJerkLogic, IConfigurationProvider configProvider) { if (deviceTelemetryLogic == null) { throw new ArgumentNullException("deviceTelemetryLogic"); } if (alertsLogic == null) { throw new ArgumentNullException("alertsLogic"); } if (deviceLogic == null) { throw new ArgumentNullException("deviceLogic"); } if (locationJerkLogic == null) { throw new ArgumentNullException("locationJerkLogic"); } if (configProvider == null) { throw new ArgumentNullException("configProvider"); } _deviceTelemetryLogic = deviceTelemetryLogic; _alertsLogic = alertsLogic; _deviceLogic = deviceLogic; _locationJerkLogic = locationJerkLogic; _configProvider = configProvider; }
public LocationController(ILocationJerkLogic locationJerkLogic, ILocationRulesLogic locationRulesLogic) { this._locationJerkLogic = locationJerkLogic; this._locationRulesLogic = locationRulesLogic; }
public LocationApiController(ILocationJerkLogic locationJerkLogic) { this._locationJerkLogic = locationJerkLogic; }