/// <summary>
        /// 保存
        /// </summary>
        /// <param name="solution"></param>
        private static void SaveSolution(SolutionConfig solution)
        {
            var writer = new ConfigWriter
            {
                Solution = solution,
            };

            writer.SaveSolution();
        }
Exemple #2
0
        /// <summary>
        /// 保存
        /// </summary>
        /// <param name="solution"></param>
        /// <param name="directory"></param>
        private static void SaveSolution(SolutionConfig solution, string directory)
        {
            var writer = new ConfigWriter
            {
                Solution  = solution,
                Directory = directory
            };

            writer.SaveSolution();
        }