public NewProjectParamsModelView(IObservableContext observableContext, ISelectFolderDialog selectFolderDialog) { _observableContext = observableContext; _selectFolderDialog = selectFolderDialog; MessengerInstance.Register <ICreateProjectProperties>(this, CreateProjectPropertiesChanged); ProjectPath = _selectFolderDialog.SelectedFolder; _observableContext.ItemsLoading.ObserveOnCurrentSyncronizationContext() .Subscribe(loading => { _loading = loading; RaisePropertyChanged(() => IsEditEnabled); } ); _createProjectProperties = null; BrowseProjectPathCommand = new RelayCommand(() => { if (_selectFolderDialog.ShowDialog()) { ProjectPath = _selectFolderDialog.SelectedFolder; } }); }
protected SelectFolderDialog (Generator g, Type type, bool initialize = true) : base (g, type, initialize) { handler = (ISelectFolderDialog)Handler; }
public SelectFolderDialog(Generator g) : base(g, typeof(ISelectFolderDialog)) { inner = (ISelectFolderDialog)Handler; }
protected SelectFolderDialog(Generator g, Type type, bool initialize = true) : base(g, type, initialize) { handler = (ISelectFolderDialog)Handler; }