public virtual bool OfSameType(SearchCondition otherCondition)
 {
     return otherCondition is IndexCondition;
 }
Exemple #2
0
 private SearchCriteria(SearchCondition searchCondition)
 {
     conditions.Add(searchCondition);
 }
 public override bool OfSameType(SearchCondition otherCondition)
 {
     return base.OfSameType(otherCondition) &&
            automationElementProperty.Equals(((SimpleSearchCondition) otherCondition).automationElementProperty);
 }
Exemple #4
0
 public override bool OfSameType(SearchCondition otherCondition)
 {
     return base.OfSameType(otherCondition) && condition.OfSameType(((NotCondition) otherCondition).condition);
 }
Exemple #5
0
 public NotCondition(SearchCondition condition)
 {
     this.condition = condition;
 }
 public override bool OfSameType(SearchCondition otherCondition)
 {
     return(base.OfSameType(otherCondition) &&
            automationElementProperty.Equals(((SimpleSearchCondition)otherCondition).automationElementProperty));
 }
Exemple #7
0
 public virtual bool OfSameType(SearchCondition otherCondition)
 {
     return otherCondition is IndexCondition;
 }
Exemple #8
0
 private SearchCriteria(SearchCondition searchCondition)
 {
     conditions.Add(searchCondition);
 }