예제 #1
0
        public static async Task SuspendCurrentSolution()
        {
            CurrentSolution.PrepareSolutionForSuspension();
            await DataManager.SaveSolutionAsync(CurrentSolution);

            ClearSolution();
        }
        public async Task SuspendSolution()
        {
            try
            {
                CurrentSolution.PrepareSolutionForSuspension();
                await AddSolution(CurrentSolution);

                ClearSolution();
            }
            catch
            {
            }
        }