コード例 #1
0
        /// <summary>
        /// 输出Java格式的文件夹
        /// </summary>
        /// <param name="current"></param>
        /// <param name="fileName"></param>
        public static void ResponseByJavaDir(CreateTemplate current, CreateTemplate template, string fileName)
        {
            string path = template.OutputDirectory;

            path += System.IO.Path.DirectorySeparatorChar;
            path += fileName;
            path += ".java";

            template.RenderToFile(path, true);
            Debug.WriteLine("正在输出:" + path);
            // current.Response.WriteLine(path);
        }
コード例 #2
0
        /// <summary>
        /// 输出Java格式的文件夹
        /// </summary>
        /// <param name="current"></param>
        /// <param name="fileName"></param>
        public static void ResponseByJavaDir(CreateTemplate current,CreateTemplate template, string fileName)
        {
            string path = template.OutputDirectory;
            path += System.IO.Path.DirectorySeparatorChar;
            path += fileName;
            path += ".java";

            template.RenderToFile(path, true);
            Debug.WriteLine("正在输出:"+path);
               // current.Response.WriteLine(path);
        }