/// <summary> /// Initializes a new instance of the <see cref="BreatheServices"/> class. /// </summary> /// <param name="dispatcherService">The dispatcher service.</param> /// <param name="dialogService">The dialog service.</param> public BreatheServices( IDispatcherService dispatcherService, IDialogService dialogService, IAdapterWrapper bluetoothManager, IFitbitService fitbitService) { this.DispatcherService = dispatcherService; this.DialogService = dialogService; this.BluetoothManager = bluetoothManager; this.FitbitService = fitbitService; }
/// <summary> /// Initializes a new instance of the <see cref="BluetoothViewModel"/> class. /// </summary> /// <param name="breatheServices"> /// The breathe services. /// </param> public BluetoothViewModel(IBreatheServices breatheServices) : base(breatheServices) { this.bluetoothManager = this.BreatheServices.BluetoothManager; this.scanResultsLock = new object(); }