Exemple #1
0
        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
        }
 private void CreateConnectionDialogCloseService()
 {
     _connectionDialogCloseService = new CloseDialogService(_connectionDialog);
 }