コード例 #1
0
 private static XDocument ToDocument(object instance, string fileVersion)
 {
     return(new XDocument(
                new XDeclaration(fileVersion, "utf-8", "yes"),
                XConvert.ToElement("Instance", instance)));
 }