예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ActId != 0)
            {
                hash ^= ActId.GetHashCode();
            }
            if (StartState != 0)
            {
                hash ^= StartState.GetHashCode();
            }
            if (ImmediateFinishState != 0)
            {
                hash ^= ImmediateFinishState.GetHashCode();
            }
            if (AwardState != 0)
            {
                hash ^= AwardState.GetHashCode();
            }
            if (AcceptTime != 0L)
            {
                hash ^= AcceptTime.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (ActId != 0)
        {
            hash ^= ActId.GetHashCode();
        }
        if (PetrolStationNo != 0)
        {
            hash ^= PetrolStationNo.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }