private void UpdateConnectedDevices() { var connectedDevicePresenter = new ConnectedDevicePresenter(Window.Current?.Dispatcher); DevicesCollection = connectedDevicePresenter.GetConnectedDevices(); }
private void UpdateConnectedDevices() { connectedDevicePresenter = new ConnectedDevicePresenter(MainPageDispatcher); this.ConnectedDevices.ItemsSource = connectedDevicePresenter.GetConnectedDevices(); }