private void SetupActivePathInMainShell(StartupRoutine startupRoutine)
        {
            var startupNavigationActions = startupRoutine.GetActionByType <StartupNavigationAction>();

            foreach (var startupNavigationAction in startupNavigationActions)
            {
                if (startupNavigationAction.Region == RegionNames.MainRegion)
                {
                    ActivePath = startupNavigationAction.Target;
                }
            }
        }
        public void MainShellStartupAction(StartupRoutine startupRoutine)
        {
            SetupActivePathInMainShell(startupRoutine);
            foreach (var startupNavigationAction in startupRoutine.GetActionByType <StartupNavigationAction>())
            {
                _regionManager.RequestNavigate(startupNavigationAction.Region, startupNavigationAction.Target);
            }

            if (_welcomeSettingsHelper.IsFirstRun())
            {
                _dispatcher.InvokeAsync(ShowWelcomeWindow);
            }
        }