public Condition Or(Condition condition) { condition.Relation = ConditionRelation.Or; condition.First = First; condition.Prev = this; Next = condition; return condition; }
public bool MoveNext() { if (_first == null) { return false; } if (_current == null) { _current = _first; return true; } if (_current.Next != null) { _current = _current.Next; return true; } //_current = null; return false; }
public void Reset() { _current = null; }
public ConditionEnumerator(Condition first) { _first = first; }
public GroupCondition(Condition condition) { _first = condition; }