public static void Main(string[] args) { string projectName; var process = FindSuitableProcess(out projectName); if (process == null) { return; } var outputPath = Path.Combine("schemas", projectName); Directory.CreateDirectory(outputPath); using (var memory = new ProcessMemory()) { if (memory.Open(process) == false) { return; } ExportExpressionFunctions(memory, outputPath); var enums = ExportEnums(memory, outputPath); ExportSchemas(memory, outputPath, enums); } }