public ConnectionDialogViewModel(ICloseDialogService closeDialogService, IConnectionConfigObserver connectionConfigObserver) { _closeDialogService = closeDialogService; _connectionConfigObserver = connectionConfigObserver; _saveServerSettingsCommand = new DelegateCommand(SaveServerSettings, CanSaveServerSettings); _closeCommand = new DelegateCommand(Close); #if DEBUG _serverAddress = "localhost:8733"; _userName = "******"; #endif }
public ConnectionDialogService(Window owner, IConnectionConfigObserver connectionConfigObserver) { _owner = owner; _connectionConfigObserver = connectionConfigObserver; }