GenerateAssembly() публичный Метод

public GenerateAssembly ( ) : string
Результат string
Пример #1
0
        public static string GenerateTestBench(TestBench test, string workingDirectory, string templateFile)
        {
            string assemblyFile = PathHelper.Combine(workingDirectory, "test.s");
            Logger.Instance.WriteVerbose("Generating Assembly file");
            File.WriteAllText(assemblyFile, test.GenerateAssembly());

            MemoryStream code = GenerateMachineCode(workingDirectory, assemblyFile);

            return TestBenchTemplate(code, templateFile);
        }
Пример #2
0
        public static string GenerateTestBench(TestBench test, string workingDirectory, string templateFile)
        {
            string assemblyFile = PathHelper.Combine(workingDirectory, "test.s");

            Logger.Instance.WriteVerbose("Generating Assembly file");
            File.WriteAllText(assemblyFile, test.GenerateAssembly());

            MemoryStream code = GenerateMachineCode(workingDirectory, assemblyFile);

            return(TestBenchTemplate(code, templateFile));
        }