Example #1
0
 public bool Equals(GreaterThanElement other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Begin, Begin));
 }
Example #2
0
        public RangeElement(string begin, string end)
        {
            if (begin.CompareTo(end) > 0)
            {
                string temp = begin;
                begin = end;
                end   = temp;
            }

            Begin = new GreaterThanElement(begin);
            End   = new LessThanElement(end);
        }