示例#1
0
        public override bool Equals(System.Object obj)
        {
            LocationWithTimestamp p = obj as LocationWithTimestamp;

            if ((object)p == null)
            {
                return(false);
            }

            return(base.Equals(obj) && UnixTimeStamp == p.UnixTimeStamp);
        }
示例#2
0
 public bool Equals(LocationWithTimestamp p)
 {
     return(base.Equals((LocationWithTimestamp)p) && UnixTimeStamp == p.UnixTimeStamp);
 }