Beispiel #1
0
        public override bool Equals(object obj)
        {
            // Check for null values and compare run-time types.
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            AbsoluteEntityCell cell = (AbsoluteEntityCell)obj;

            return(cell.Level == Level && cell.BatchId == BatchId && cell.CellId == CellId);
        }
 protected bool Equals(AbsoluteEntityCell other)
 {
     return(Equals(BatchId, other.BatchId) && Equals(CellId, other.CellId) && Level == other.Level);
 }