public ImportProjectionsPageViewModel(WizardState state, Func<string, IProjectionsManager> projectionsManagerFactory)
        {
            _state = state;
            _projectionsManagerFactory = projectionsManagerFactory;

            ExistingProjections = new ObservableCollection<ImportProjectionInfo>();
        }
        public CreateProjectViewModel(Func<string, IProjectionsManager> projectionsManagerFactory)
        {
            State = new WizardState {EventStoreConnection = "localhost:2113"};
            _pages.Add(new StartPageViewModel(State));
            _pages.Add(new EventStoreConnectionPageViewModel(State));
            _pages.Add(new ImportProjectionsPageViewModel(State, projectionsManagerFactory));
            _pages.Add(new FinishPageViewModel(State));

            NextCommand     = BuildCommand(_ => ActivePage != _pages.Last(), _ => OnNext());
            PrevCommand     = BuildCommand(_ => ActivePage != _pages.First(), _ => OnPrev());
            FinishCommand   = BuildCommand(_ => ActivePage == _pages.Last(), _ => OnFinish());
            CancelCommand   = BuildCommand(_ => true, _ => OnCancel());

            ActivePage = _pages.First();
        }