public ApplicationManagerBase(SynchronizationContext synchronizationContext, IEnvironment environment)
        {
            UIScheduler = ThreadingHelper.GetUIScheduler(synchronizationContext);

            SynchronizationContext = synchronizationContext;
            ThreadingHelper.SetUIThread();
            ThreadingHelper.MainThreadScheduler = UIScheduler;

            Environment    = environment;
            TaskManager    = new TaskManager(UIScheduler);
            Platform       = new Platform(Environment);
            ProcessManager = new ProcessManager(Environment, Platform.GitEnvironment, TaskManager.Token);
            GitClient      = new GitClient(Environment, ProcessManager, TaskManager.Token);
        }