Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (PlotId.Length != 0)
            {
                hash ^= PlotId.GetHashCode();
            }
            if (OpenTime != 0L)
            {
                hash ^= OpenTime.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlotId != 0)
            {
                hash ^= PlotId.GetHashCode();
            }
            if (LevelPlotType != 0)
            {
                hash ^= LevelPlotType.GetHashCode();
            }
            if (PlotDesc.Length != 0)
            {
                hash ^= PlotDesc.GetHashCode();
            }
            return(hash);
        }