コード例 #1
0
        // Token: 0x060064FC RID: 25852 RVA: 0x001C538C File Offset: 0x001C358C
        internal static string DumpLayoutTreeToString(string tagName, UIElement root)
        {
            StringWriter  stringWriter  = new StringWriter(CultureInfo.InvariantCulture);
            XmlTextWriter xmlTextWriter = new XmlTextWriter(stringWriter);

            xmlTextWriter.Formatting  = Formatting.Indented;
            xmlTextWriter.Indentation = 2;
            LayoutDump.DumpLayoutTree(xmlTextWriter, tagName, root);
            xmlTextWriter.Flush();
            xmlTextWriter.Close();
            return(stringWriter.ToString());
        }