/// <summary> /// Gets published content by xpath /// </summary> /// <param name="xpath"></param> /// <returns></returns> public XDocument GetPublishedContentByXPath(string xpath) { //TODO: Remove the need for this, the best way would be to remove all requirements of examine based on Xml but that // would take some time. Another way in the in-term would be to add a static delegate to this class which can be set // on the WebBootManager to set how to get the XmlNodeByXPath but that is still ugly :( return(LegacyLibrary.GetXmlNodeByXPath(xpath).ToXDocument()); }
public DefaultLibraryAdapter(LegacyLibrary legacyLibrary) { LegacyLibrary = legacyLibrary; }