public override int ResolveId(int?currentPageId = null)
 {
     return(XPathResolver.ResolveRelative(this.DefinedContentItem.ResolveValue, currentPageId));
 }
 public int TestRelativeXPath(string xPath, int currentPageId)
 {
     return(XPathResolver.ResolveRelative(xPath, currentPageId));
 }