public override bool Equals(object x)
        {
            RegularTimePoint r = (RegularTimePoint)x;

            if (base.Equals(x))
            {
                return(r.IntervalSchedule == intervalSchedule && r.SeqNumber == seqNumber && r.Value1 == value1 && r.Value2 == value2);
            }

            return(false);
        }
Example #2
0
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         RegularTimePoint x = (RegularTimePoint)obj;
         return(x.sequenceNumber == this.sequenceNumber && x.value1 == this.value1 && x.value2 == this.value2 &&
                x.intervalSchedule == this.intervalSchedule);
     }
     else
     {
         return(false);
     }
 }