Exemple #1
0
 public static T GetNode <T>(this Je.IXmlExpander e, XmlDocument doc, string xpath)
 {
     return(GetNode(e, doc, xpath).As <T>());
 }
Exemple #2
0
 public static object GetNode(this Je.IXmlExpander e, XmlNode root, int index)
 {
     return(root != null && index >= 0 && index < root.ChildNodes.Count ? root.ChildNodes[index].InnerText : null);
 }
Exemple #3
0
 public static T GetNode <T>(this Je.IXmlExpander e, XmlNode root, string name)
 {
     return(GetNode(e, root, name).As <T>());
 }
Exemple #4
0
 public static T GetNode <T>(this Je.IXmlExpander e, XmlNode root, int index)
 {
     return(GetNode(e, root, index).As <T>());
 }