Beispiel #1
0
 public XPathSelector(string value, XPathTypeEnum type = XPathTypeEnum.InnerText, bool remove = true)
 {
     this.Value  = value;
     this.Type   = type;
     this.Remove = remove;
 }
Beispiel #2
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="xpath">xpath</param>
 /// <param name="type">select type</param>
 /// <param name="remove">remove flag</param>
 public XPathSelector(string xpath, XPathTypeEnum type = XPathTypeEnum.TEXT, bool remove = true)
 {
     this.XPath  = xpath;
     this.Type   = type;
     this.Remove = remove;
 }