public SearchByValueCommand(SearchByValueCommandKey key, String value, Encoding encoding)
 {
     this.Key = SearchByValueCommandKey.Text;
     this.Value = "";
     this.Encoding = encoding;
 }
Example #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="key"></param>
 /// <returns></returns>
 public SearchResult Search(SearchByValueCommandKey key, String value)
 {
     var cm = new SearchByValueCommand();
     cm.Key = key;
     cm.Value = value;
     return this.Search(cm);
 }
 public SearchByValueCommand(SearchByValueCommandKey key, String value)
     : this(key, value, Encoding.UTF8)
 {
 }