Ejemplo n.º 1
0
 public virtual SearchCriteria NotIdentifiedByText(string name)
 {
     conditions.Insert(0, new NotCondition(SearchConditionFactory.CreateForName(name)));
     return(this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a SearchCriteria with text
 /// </summary>
 /// <param name="text">For managed applications this is name given to controls in the application code.
 /// For unmanaged applications this is text of the control or label next to it if it doesn't have well defined text.</param>
 /// <returns></returns>
 public static SearchCriteria ByText(string text)
 {
     return(new SearchCriteria(SearchConditionFactory.CreateForName(text)));
 }
Ejemplo n.º 3
0
 public virtual SearchCriteria AndByText(string text)
 {
     conditions.Insert(0, SearchConditionFactory.CreateForName(text));
     return(this);
 }