private void RemoveDevice(TeamCityDeviceViewModel deviceVm)
 {
     teamCityConfiguration.RemoveDevice(deviceVm.Device);
     Devices.Remove(deviceVm);
 }
예제 #2
0
 private void InputConfigurationControl_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     viewModel = (TeamCityDeviceViewModel)e.NewValue;
     PasswordInput.Password = viewModel.Password;
 }
 private bool CanRemoveDevice(TeamCityDeviceViewModel deviceInfo)
 {
     return deviceInfo != null;
 }