Esempio n. 1
0
 /// <summary>
 /// Creates a regex strategy
 /// </summary>
 /// <param name="filter"></param>
 /// <param name="text"></param>
 public TextRegexMatchingStrategy(TextMatchFilter filter, string text)
 {
     this.TextFilter = filter;
     this.Text       = text;
 }
Esempio n. 2
0
 /// <summary>
 /// Create a text contains strategy
 /// </summary>
 /// <param name="filter"></param>
 /// <param name="text"></param>
 public TextContainsMatchingStrategy(TextMatchFilter filter, string text)
 {
     this.TextFilter = filter;
     this.Text       = text;
 }