コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TaskID != 0)
            {
                hash ^= TaskID.GetHashCode();
            }
            if (Schedule != 0)
            {
                hash ^= Schedule.GetHashCode();
            }
            if (IsGet != false)
            {
                hash ^= IsGet.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TaskID != 0)
            {
                hash ^= TaskID.GetHashCode();
            }
            if (MaxDoneCount != 0)
            {
                hash ^= MaxDoneCount.GetHashCode();
            }
            if (TaskName.Length != 0)
            {
                hash ^= TaskName.GetHashCode();
            }
            if (TaskDesc.Length != 0)
            {
                hash ^= TaskDesc.GetHashCode();
            }
            if (FinishConditionID != 0)
            {
                hash ^= FinishConditionID.GetHashCode();
            }
            hash ^= stage_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
ファイル: ProjectKey.cs プロジェクト: Vialythen/AcumaticaTest
 public override int GetHashCode()
 {
     return
         (BranchID.GetHashCode() ^
          AccountID.GetHashCode() ^
          SubID.GetHashCode() ^
          ProjectID.GetHashCode() ^
          TaskID.GetHashCode() ^
          CostCodeID.GetHashCode() ^
          InventoryID.GetHashCode());
 }
コード例 #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TaskID != 0)
            {
                hash ^= TaskID.GetHashCode();
            }
            if (SeqID != 0)
            {
                hash ^= SeqID.GetHashCode();
            }
            if (ExchangeMaxCount != 0)
            {
                hash ^= ExchangeMaxCount.GetHashCode();
            }
            if (TaskName.Length != 0)
            {
                hash ^= TaskName.GetHashCode();
            }
            if (TaskDesc.Length != 0)
            {
                hash ^= TaskDesc.GetHashCode();
            }
            if (ExchangeTargetID != 0)
            {
                hash ^= ExchangeTargetID.GetHashCode();
            }
            if (ExchangeTargetNum != 0)
            {
                hash ^= ExchangeTargetNum.GetHashCode();
            }
            hash ^= actConsumeRes_.GetHashCode();
            if (ResetType != 0)
            {
                hash ^= ResetType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TaskID != 0)
            {
                hash ^= TaskID.GetHashCode();
            }
            if (SeqID != 0)
            {
                hash ^= SeqID.GetHashCode();
            }
            if (MaxDoneCount != 0)
            {
                hash ^= MaxDoneCount.GetHashCode();
            }
            if (MulCondType != 0)
            {
                hash ^= MulCondType.GetHashCode();
            }
            if (TaskName.Length != 0)
            {
                hash ^= TaskName.GetHashCode();
            }
            if (TaskDesc.Length != 0)
            {
                hash ^= TaskDesc.GetHashCode();
            }
            if (FinishConditionID != 0)
            {
                hash ^= FinishConditionID.GetHashCode();
            }
            if (TargetProcess != 0)
            {
                hash ^= TargetProcess.GetHashCode();
            }
            hash ^= actMulCondTaskAward_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }