Example #1
0
        protected override void DecompileFields(ILanguage language, ITextOutput output)
        {
            language.WriteCommentLine(output, string.Empty);
            language.WriteCommentBegin(output, true);
            WriteHeader(output);
            language.WriteCommentEnd(output, true);
            output.WriteLine();

            for (int i = 0; i < (int)tablesStreamVM.Rows; i++)
            {
                var obj = tablesStreamVM.Get(i);
                language.WriteCommentBegin(output, true);
                Write(output, obj);
                language.WriteCommentEnd(output, true);
                output.WriteLine();
            }
        }
Example #2
0
        protected override void DecompileFields(IDecompiler decompiler, IDecompilerOutput output)
        {
            decompiler.WriteCommentLine(output, string.Empty);
            decompiler.WriteCommentBegin(output, true);
            WriteHeader(output);
            decompiler.WriteCommentEnd(output, true);
            output.WriteLine();

            for (int i = 0; i < (int)MetaDataTableVM.Rows; i++)
            {
                var obj = MetaDataTableVM.Get(i);
                decompiler.WriteCommentBegin(output, true);
                Write(output, obj);
                decompiler.WriteCommentEnd(output, true);
                output.WriteLine();
            }
        }