public static string ToQuickXmlString(this XElement xml)
 {
     using (var writer = new StringWriter())
     {
         var generator = new QuickXmlGenerator();
         generator.GenerateQuickXml(writer, xml);
         return writer.ToString();
     }
 }
예제 #2
0
 public static string ToQuickXmlString(this XElement xml)
 {
     using (var writer = new StringWriter())
     {
         var generator = new QuickXmlGenerator();
         generator.GenerateQuickXml(writer, xml);
         return(writer.ToString());
     }
 }