示例#1
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (creationDateTime_ != null)
                    {
                        hash ^= CreationDateTime.GetHashCode();
                    }
                    if (completionDateTime_ != null)
                    {
                        hash ^= CompletionDateTime.GetHashCode();
                    }
                    if (estimatedCompletionRatio_ != null)
                    {
                        hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(EstimatedCompletionRatio);
                    }
                    if (operationCount_ != null)
                    {
                        hash ^= OperationCount.GetHashCode();
                    }
                    if (executedOperationCount_ != null)
                    {
                        hash ^= ExecutedOperationCount.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (InvitationId != 0L)
            {
                hash ^= InvitationId.GetHashCode();
            }
            if (AccessRole != global::Google.Ads.GoogleAds.V8.Enums.AccessRoleEnum.Types.AccessRole.Unspecified)
            {
                hash ^= AccessRole.GetHashCode();
            }
            if (EmailAddress.Length != 0)
            {
                hash ^= EmailAddress.GetHashCode();
            }
            if (CreationDateTime.Length != 0)
            {
                hash ^= CreationDateTime.GetHashCode();
            }
            if (InvitationStatus != global::Google.Ads.GoogleAds.V8.Enums.AccessInvitationStatusEnum.Types.AccessInvitationStatus.Unspecified)
            {
                hash ^= InvitationStatus.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (HasCreationDateTime)
                    {
                        hash ^= CreationDateTime.GetHashCode();
                    }
                    if (HasStartDateTime)
                    {
                        hash ^= StartDateTime.GetHashCode();
                    }
                    if (HasCompletionDateTime)
                    {
                        hash ^= CompletionDateTime.GetHashCode();
                    }
                    if (HasEstimatedCompletionRatio)
                    {
                        hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(EstimatedCompletionRatio);
                    }
                    if (HasOperationCount)
                    {
                        hash ^= OperationCount.GetHashCode();
                    }
                    if (HasExecutedOperationCount)
                    {
                        hash ^= ExecutedOperationCount.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
示例#4
0
        public override int GetHashCode()
        {
            int hashCode = -1147776445;

            hashCode = hashCode * -1521134295 + base.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Color);

            hashCode = hashCode * -1521134295 + CreationDateTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Data);

            hashCode = hashCode * -1521134295 + FinishDateTime.GetHashCode();
            return(hashCode);
        }