コード例 #1
0
        private static void DecompileCode(string ainFileName, string pjeFileName)
        {
            var ainFile            = new AinFile(ainFileName);
            var codeDisplayOptions = new CodeDisplayOptions();
            var codeExporter       = new CodeExporter(ainFile, codeDisplayOptions);

            codeExporter.Error += new EventHandler <ErrorEventArgs>(codeExporter_Error);

            string directory2 = Path.GetDirectoryName(pjeFileName);

            if (!Directory.Exists(directory2))
            {
                Directory.CreateDirectory(directory2);
            }
            codeExporter.ExportFiles(directory2);
        }
コード例 #2
0
 public bool Run(string outputPath, CodeExporter codeExporter)
 {
     return(base.Run(codeExporter.ainFile.OriginalFilename, outputPath, codeExporter));
 }