/// <summary> /// Initializes a new instance of the DeviceTelemetryLogic class. /// </summary> /// <param name="deviceTelemetryRepository"> /// The IDeviceTelemetryRepository implementation that the new /// instance will use. /// </param> public DeviceTelemetryLogic(IDeviceTelemetryRepository deviceTelemetryRepository) { if (deviceTelemetryRepository == null) { throw new ArgumentNullException(nameof(deviceTelemetryRepository)); } _deviceTelemetryRepository = deviceTelemetryRepository; }
/// <summary> /// Initializes a new instance of the DeviceTelemetryLogic class. /// </summary> /// <param name="deviceTelemetryRepository"> /// The IDeviceTelemetryRepository implementation that the new /// instance will use. /// </param> public DeviceTelemetryLogic(IDeviceTelemetryRepository deviceTelemetryRepository) { if (deviceTelemetryRepository == null) { throw new ArgumentNullException("deviceTelemetryRepository"); } _deviceTelemetryRepository = deviceTelemetryRepository; }