Пример #1
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 /// <param name="deviceCommunicationAdapter"></param>
 /// <param name="fileService"></param>
 /// <param name="logger"></param>
 /// <param name="telemetryService"></param>
 public DeviceService(IDeviceCommunicationAdapter deviceCommunicationAdapter, IFileService fileService, ILogger <DeviceService> logger, ITelemetryService telemetryService)
 {
     m_DeviceCommunicationAdapter = deviceCommunicationAdapter;
     m_FileService      = fileService;
     m_Logger           = logger;
     m_TelemetryService = telemetryService;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 /// <param name="deviceCommunicationAdapter"></param>
 /// <param name="fileService"></param>
 /// <param name="logger"></param>
 public DeviceService(IDeviceCommunicationAdapter deviceCommunicationAdapter, IFileService fileService, ILogger <DeviceService> logger)
 {
     m_DeviceCommunicationAdapter = deviceCommunicationAdapter;
     m_FileService = fileService;
     m_Logger      = logger;
 }