public static LibraryList GetLibraryListFromXmlFile(string xmlFilePath) { var xmlDoc = XElement.Load(xmlFilePath); var libraryList = new LibraryList(); libraryList.FillProperties(xmlDoc); return libraryList; }
public static LibraryList GetLibraryListFromXml(XElement xml) { var libraryList = new LibraryList(); libraryList.FillProperties(xml); return libraryList; }