Exemplo n.º 1
0
 public OpenProjectDialogViewModel(IOpenProjectDialogService service) : base(service)
 {
     _service = service ?? new OpenProjectDialogService();
     _loadDatabasesCommand = new DelegateCommand(LoadDatabasesCommandExecuted);
     _readOnlyDatabases    = new ReadOnlyObservableCollection <string>(_databases);
     ConnectionParameters.PropertyChanged += ConnectionParametersPropertyChanged;
 }
Exemplo n.º 2
0
 public OpenProjectDialogViewModel(IOpenProjectDialogService service)
     : base(service)
 {
     _service = service ?? new OpenProjectDialogService();
     _loadDatabasesCommand = new DelegateCommand(LoadDatabasesCommandExecuted);
     _readOnlyDatabases = new ReadOnlyObservableCollection<string>(_databases);
     ConnectionParameters.PropertyChanged += ConnectionParametersPropertyChanged;
 }