Exemple #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (ExternalCampaignNumber != null ? StringComparer.InvariantCulture.GetHashCode(ExternalCampaignNumber) : 0);
         hashCode = (hashCode * 397) ^ (SalesArea != null ? StringComparer.InvariantCulture.GetHashCode(SalesArea) : 0);
         hashCode = (hashCode * 397) ^ (GroupCode != null ? StringComparer.InvariantCulture.GetHashCode(GroupCode) : 0);
         hashCode = (hashCode * 397) ^ (ExternalSpotRef != null ? StringComparer.InvariantCulture.GetHashCode(ExternalSpotRef) : 0);
         hashCode = (hashCode * 397) ^ StartDateTime.GetHashCode();
         hashCode = (hashCode * 397) ^ EndDateTime.GetHashCode();
         hashCode = (hashCode * 397) ^ SpotLength.GetHashCode();
         hashCode = (hashCode * 397) ^ (BreakType != null ? StringComparer.InvariantCulture.GetHashCode(BreakType) : 0);
         hashCode = (hashCode * 397) ^ (Product != null ? StringComparer.InvariantCulture.GetHashCode(Product) : 0);
         hashCode = (hashCode * 397) ^ (Demographic != null ? StringComparer.InvariantCulture.GetHashCode(Demographic) : 0);
         hashCode = (hashCode * 397) ^ ClientPicked.GetHashCode();
         hashCode = (hashCode * 397) ^ (MultipartSpot != null ? StringComparer.InvariantCulture.GetHashCode(MultipartSpot) : 0);
         hashCode = (hashCode * 397) ^ (MultipartSpotPosition != null ? StringComparer.InvariantCulture.GetHashCode(MultipartSpotPosition) : 0);
         hashCode = (hashCode * 397) ^ (MultipartSpotRef != null ? StringComparer.InvariantCulture.GetHashCode(MultipartSpotRef) : 0);
         hashCode = (hashCode * 397) ^ (RequestedPositioninBreak != null ? StringComparer.InvariantCulture.GetHashCode(RequestedPositioninBreak) : 0);
         hashCode = (hashCode * 397) ^ (ActualPositioninBreak != null ? StringComparer.InvariantCulture.GetHashCode(ActualPositioninBreak) : 0);
         hashCode = (hashCode * 397) ^ (BreakRequest != null ? StringComparer.InvariantCulture.GetHashCode(BreakRequest) : 0);
         hashCode = (hashCode * 397) ^ (ExternalBreakNo != null ? StringComparer.InvariantCulture.GetHashCode(ExternalBreakNo) : 0);
         hashCode = (hashCode * 397) ^ Sponsored.GetHashCode();
         hashCode = (hashCode * 397) ^ Preemptable.GetHashCode();
         hashCode = (hashCode * 397) ^ Preemptlevel.GetHashCode();
         hashCode = (hashCode * 397) ^ (IndustryCode != null ? StringComparer.InvariantCulture.GetHashCode(IndustryCode) : 0);
         hashCode = (hashCode * 397) ^ (ClearanceCode != null ? StringComparer.InvariantCulture.GetHashCode(ClearanceCode) : 0);
         return(hashCode);
     }
 }
                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);
                }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (SeasonalityAdjustmentId != 0L)
            {
                hash ^= SeasonalityAdjustmentId.GetHashCode();
            }
            if (Scope != global::Google.Ads.GoogleAds.V10.Enums.SeasonalityEventScopeEnum.Types.SeasonalityEventScope.Unspecified)
            {
                hash ^= Scope.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V10.Enums.SeasonalityEventStatusEnum.Types.SeasonalityEventStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (StartDateTime.Length != 0)
            {
                hash ^= StartDateTime.GetHashCode();
            }
            if (EndDateTime.Length != 0)
            {
                hash ^= EndDateTime.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= devices_.GetHashCode();
            if (ConversionRateModifier != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConversionRateModifier);
            }
            hash ^= campaigns_.GetHashCode();
            hash ^= advertisingChannelTypes_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = LecturersTitleAndName != null?LecturersTitleAndName.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (LessonTitle != null ? LessonTitle.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (LessonType != null ? LessonType.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^
                           (LessonCodeAndClassRoom != null ? LessonCodeAndClassRoom.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ StartDateTime.GetHashCode();
                hashCode = (hashCode * 397) ^ EndDateTime.GetHashCode();
                return(hashCode);
            }
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (paymentsAccount_ != null)
            {
                hash ^= PaymentsAccount.GetHashCode();
            }
            if (paymentsAccountInfo_ != null)
            {
                hash ^= PaymentsAccountInfo.GetHashCode();
            }
            if (startTimeCase_ == StartTimeOneofCase.StartDateTime)
            {
                hash ^= StartDateTime.GetHashCode();
            }
            if (startTimeCase_ == StartTimeOneofCase.StartTimeType)
            {
                hash ^= StartTimeType.GetHashCode();
            }
            if (endTimeCase_ == EndTimeOneofCase.EndDateTime)
            {
                hash ^= EndDateTime.GetHashCode();
            }
            if (endTimeCase_ == EndTimeOneofCase.EndTimeType)
            {
                hash ^= EndTimeType.GetHashCode();
            }
            hash ^= (int)startTimeCase_;
            hash ^= (int)endTimeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V2.Enums.BillingSetupStatusEnum.Types.BillingSetupStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (paymentsAccount_ != null)
            {
                hash ^= PaymentsAccount.GetHashCode();
            }
            if (paymentsAccountInfo_ != null)
            {
                hash ^= PaymentsAccountInfo.GetHashCode();
            }
            if (startTimeCase_ == StartTimeOneofCase.StartDateTime)
            {
                hash ^= StartDateTime.GetHashCode();
            }
            if (startTimeCase_ == StartTimeOneofCase.StartTimeType)
            {
                hash ^= StartTimeType.GetHashCode();
            }
            if (endTimeCase_ == EndTimeOneofCase.EndDateTime)
            {
                hash ^= EndDateTime.GetHashCode();
            }
            if (endTimeCase_ == EndTimeOneofCase.EndTimeType)
            {
                hash ^= EndTimeType.GetHashCode();
            }
            hash ^= (int)startTimeCase_;
            hash ^= (int)endTimeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #7
0
        public override int GetHashCode()
        {
            var hashCode = -1050323901;

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

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

            hashCode = hashCode * -1521134295 + StartDateTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EndDateTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Theme);

            hashCode = hashCode * -1521134295 + EqualityComparer <IList <ShiftActivity> > .Default.GetHashCode(Activities);

            return(hashCode);
        }
Exemple #8
0
        public virtual int _GetUniqueIdentifier()
        {
            var hashCode = 399326290;

            hashCode = hashCode * -1521134295 + (Workflow?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (Description?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (StartDateTime?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (ExpireOn?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (CronExpression?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (LastExecution?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (LastExecutionMessage?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (IsLastExecutionSuccess.GetHashCode());
            hashCode = hashCode * -1521134295 + (Active.GetHashCode());
            hashCode = hashCode * -1521134295 + (HumanReadableExpression?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (NextExecutionTime?.GetHashCode() ?? 0);
            return(hashCode);
        }
Exemple #9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (DataExclusionId != 0L)
            {
                hash ^= DataExclusionId.GetHashCode();
            }
            if (Scope != global::Google.Ads.GoogleAds.V9.Enums.SeasonalityEventScopeEnum.Types.SeasonalityEventScope.Unspecified)
            {
                hash ^= Scope.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V9.Enums.SeasonalityEventStatusEnum.Types.SeasonalityEventStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (StartDateTime.Length != 0)
            {
                hash ^= StartDateTime.GetHashCode();
            }
            if (EndDateTime.Length != 0)
            {
                hash ^= EndDateTime.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= devices_.GetHashCode();
            hash ^= campaigns_.GetHashCode();
            hash ^= advertisingChannelTypes_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StartDateTime.Length != 0)
            {
                hash ^= StartDateTime.GetHashCode();
            }
            if (EndDateTime.Length != 0)
            {
                hash ^= EndDateTime.GetHashCode();
            }
            if (LogType.Length != 0)
            {
                hash ^= LogType.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (feed_ != null)
            {
                hash ^= Feed.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (startDateTime_ != null)
            {
                hash ^= StartDateTime.GetHashCode();
            }
            if (endDateTime_ != null)
            {
                hash ^= EndDateTime.GetHashCode();
            }
            hash ^= attributeValues_.GetHashCode();
            if (GeoTargetingRestriction != 0)
            {
                hash ^= GeoTargetingRestriction.GetHashCode();
            }
            hash ^= urlCustomParameters_.GetHashCode();
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #12
0
 public override int GetHashCode()
 {
     return((StartDateTime.GetHashCode() * 397) ^ (EndDateTime.GetHashCode() * 397) ^ (SamplingRate * 397));
 }
Exemple #13
0
 public override int GetHashCode()
 {
     return((Configuration.GetHashCode() * 397) ^ (StartDateTime.GetHashCode() * 397) ^
            (EndDateTime.GetHashCode() * 397));
 }
Exemple #14
0
 public override int GetHashCode()
 {
     return(Shop.GetHashCode() ^ Barber.GetHashCode() ^ StartDateTime.GetHashCode() ^ EndDateTime.GetHashCode());
 }
 public override int GetHashCode()
 {
     return((ProcedureDirectory.GetHashCode() * 397) ^ (ProcedureType.GetHashCode() * 397) ^
            (StartDateTime.GetHashCode() * 397) ^ (EndDateTime.GetHashCode() * 397) ^
            (ProcedureID.GetHashCode() * 397));
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (ExtensionType != 0)
            {
                hash ^= ExtensionType.GetHashCode();
            }
            if (startDateTime_ != null)
            {
                hash ^= StartDateTime.GetHashCode();
            }
            if (endDateTime_ != null)
            {
                hash ^= EndDateTime.GetHashCode();
            }
            hash ^= adSchedules_.GetHashCode();
            if (Device != 0)
            {
                hash ^= Device.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.SitelinkFeedItem)
            {
                hash ^= SitelinkFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.StructuredSnippetFeedItem)
            {
                hash ^= StructuredSnippetFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.AppFeedItem)
            {
                hash ^= AppFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.CallFeedItem)
            {
                hash ^= CallFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.CalloutFeedItem)
            {
                hash ^= CalloutFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.TextMessageFeedItem)
            {
                hash ^= TextMessageFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.PriceFeedItem)
            {
                hash ^= PriceFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.PromotionFeedItem)
            {
                hash ^= PromotionFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.LocationFeedItem)
            {
                hash ^= LocationFeedItem.GetHashCode();
            }
            if (extensionCase_ == ExtensionOneofCase.AffiliateLocationFeedItem)
            {
                hash ^= AffiliateLocationFeedItem.GetHashCode();
            }
            hash ^= (int)extensionCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }