BattleInfoPlugin.Models.MapCellData.Equals C# (CSharp) Метод

Equals() защищенный Метод

protected Equals ( MapCellData other ) : bool
other MapCellData
Результат bool
        protected bool Equals(MapCellData other)
        {
            if (other == null) return false;
            if (ReferenceEquals(this, other)) return true;

            return ColorNo == other.ColorNo &&
                CommentKind == other.CommentKind &&
                EventId == other.EventId &&
                EventKind == other.EventKind &&
                No == other.No &&
                MapAreaId == other.MapAreaId &&
                MapInfoIdInEachMapArea == other.MapInfoIdInEachMapArea &&
                ProductionKind == other.ProductionKind &&
                SelectCells.EqualsValue(other.SelectCells) &&
                Distance == other.Distance;
        }

Same methods

MapCellData::Equals ( object obj ) : bool