public IHardwareDetection MakeFTDICommunication() { if (_detectorFTDI == null) { _detectorFTDI = new DetectorFTDI(); } return(_detectorFTDI); }
public IHardwareDetection MakeAgilentCommunication() { if (_detectorAgilent == null) { _detectorAgilent = new DetectorAgilent(); } return(_detectorAgilent); }
public HardwareDetector(IHardwareDetection hardwareDetection, IHardwareDetectionPresenter deviceDetectionPresenter) { _hardwareDetection = hardwareDetection; _deviceDetectionPresenter = deviceDetectionPresenter; _hardwareDetection.Identified += DeviceIdentified; _hardwareDetection.Inserted += DeviceInserted; _hardwareDetection.Removed += DeviceRemoved; }
public IHardwareDetectionInteractor MakeHardwareDetector(IHardwareDetection hardwareDetection, IHardwareDetectionPresenter deviceDetectionPresenter) { return(new HardwareDetector(hardwareDetection, deviceDetectionPresenter)); }