Example #1
0
 public CssSelector(string value, string attr)
 {
     this.Value    = value;
     this.AttrName = attr;
     this.Type     = CssTypeEnum.OutHtml;
 }
Example #2
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="selector">dom selector</param>
 /// <param name="attr">attribute name</param>
 public CssSelector(string selector, string attr)
 {
     this.Selector = selector;
     this.AttrName = attr;
     this.Type     = CssTypeEnum.OUTERHTML;
 }
Example #3
0
 public CssSelector(string value, CssTypeEnum type = CssTypeEnum.Text, bool remove = true)
 {
     this.Value  = value;
     this.Type   = type;
     this.Remove = remove;
 }
Example #4
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="selector">dom selector</param>
 /// <param name="type">css type enum</param>
 /// <param name="remove">remove flag</param>
 public CssSelector(string selector, CssTypeEnum type = CssTypeEnum.TEXT, bool remove = true)
 {
     this.Selector = selector;
     this.Type     = type;
     this.Remove   = remove;
 }