예제 #1
0
파일: Terminal.cs 프로젝트: kjlam/Ginwoo2
        /*
         * GitAddFilesToCommit()
         *
         * This executes a 'git add <file1> <file2> .. <fileN>' command.
         *
         */
        internal CmdReturn GitAddFilesToCommit(List<String> filesList)
        {
            String filesStr = "";

            filesList.ForEach(delegate(String file)
            {
                filesStr += " ";
                filesStr += file;
            });

            return ExecuteProcess(workingDirectory, "git add" + filesStr, false);
        }
예제 #2
0
파일: Terminal.cs 프로젝트: kjlam/Ginwoo2
        /*
         * GitRemoveFiles()
         *
         * This executes a 'git rm <file1> <file2> .. <fileN>' command.
         *
         */
        internal CmdReturn GitRemoveFiles(List<String> filesList)
        {
            String filesStr = "";

            filesList.ForEach(delegate(String file)
            {
                filesStr += " ";
                filesStr += file;
            });

            return ExecuteProcess(workingDirectory, "git rm" + filesStr, false);
        }
 private static void PrepareVertex(List<VertexBase> list)
 {
     list.ForEach(r =>
     {
         r.X = r.X * Precision / Precision;
         r.Y = r.Y * Precision / Precision;
     });
 }