public override bool OfSameType(SearchCondition otherCondition)
 {
     return(base.OfSameType(otherCondition) && condition.OfSameType(((NotCondition)otherCondition).condition));
 }
 public NotCondition(SearchCondition condition)
 {
     this.condition = condition;
 }