Пример #1
0
 public NotCondition(SearchCondition condition)
 {
     this.condition = condition;
 }
Пример #2
0
 public override bool OfSameType(SearchCondition otherCondition)
 {
     return base.OfSameType(otherCondition) && condition.OfSameType(((NotCondition) otherCondition).condition);
 }
Пример #3
0
 private SearchCriteria(SearchCondition searchCondition)
 {
     conditions.Add(searchCondition);
 }
Пример #4
0
 public virtual bool OfSameType(SearchCondition otherCondition)
 {
     return otherCondition is IndexCondition;
 }
Пример #5
0
 public override bool OfSameType(SearchCondition otherCondition)
 {
     return(base.OfSameType(otherCondition) && condition.OfSameType(((NotCondition)otherCondition).condition));
 }
Пример #6
0
 public NotCondition(SearchCondition condition)
 {
     this.condition = condition;
 }
Пример #7
0
 public override bool OfSameType(SearchCondition otherCondition)
 {
     return base.OfSameType(otherCondition) &&
            automationElementProperty.Equals(((SimpleSearchCondition) otherCondition).automationElementProperty);
 }