示例#1
0
 public static LibraryList GetLibraryListFromXmlFile(string xmlFilePath)
 {
     var xmlDoc = XElement.Load(xmlFilePath);
     var libraryList = new LibraryList();
     libraryList.FillProperties(xmlDoc);
     return libraryList;
 }
示例#2
0
 public static LibraryList GetLibraryListFromXml(XElement xml)
 {
     var libraryList = new LibraryList();
     libraryList.FillProperties(xml);
     return libraryList;
 }