Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((TaskId.GetHashCode() * 397) ^ TriggerDateUtc.GetHashCode());
     }
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((TaskId != null ? TaskId.GetHashCode() : 0) * 397) ^ (Ack != null ? Ack.GetHashCode() : 0));
     }
 }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((TaskId != null ? TaskId.GetHashCode() : 0) * 397) ^ (NoteContent != null ? NoteContent.GetHashCode() : 0));
     }
 }
Ejemplo n.º 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((TaskId.GetHashCode() * 397) ^
                (ProjectId.GetHashCode() * 397) ^
                Name.GetHashCode());
     }
 }
Ejemplo n.º 5
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = TaskId.GetHashCode();
         hashCode = (hashCode * 397) ^ MinimalStartTicks.GetHashCode();
         hashCode = (hashCode * 397) ^ TaskIndexShardKey.GetHashCode();
         return(hashCode);
     }
 }
Ejemplo n.º 6
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = TaskId.GetHashCode();
         hashCode = (hashCode * 397) ^ Recipient.GetHashCode();
         hashCode = (hashCode * 397) ^ Message.GetHashCode();
         hashCode = (hashCode * 397) ^ TriggerDateUtc.GetHashCode();
         hashCode = (hashCode * 397) ^ RepeatInterval.GetHashCode();
         return(hashCode);
     }
 }
Ejemplo n.º 7
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = TaskId.GetHashCode();
         hashCode = (hashCode * 397) ^ Recipient.GetHashCode();
         hashCode = (hashCode * 397) ^ Message.GetHashCode();
         hashCode = (hashCode * 397) ^ TriggerDateUtc.GetHashCode();
         hashCode = (hashCode * 397) ^ (Ack != null ? Ack.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 8
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ Version.GetHashCode();
         hashCode = (hashCode * 397) ^ TaskId.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Action;
         hashCode = (hashCode * 397) ^ (NewParentId != null ? NewParentId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Annoyance.GetHashCode();
         hashCode = (hashCode * 397) ^ Importance.GetHashCode();
         hashCode = (hashCode * 397) ^ Urgency.GetHashCode();
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (TaskId.Length != 0)
            {
                hash ^= TaskId.GetHashCode();
            }
            if (Data.Length != 0)
            {
                hash ^= Data.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Cmd.Length != 0)
            {
                hash ^= Cmd.GetHashCode();
            }
            if (TaskId != 0)
            {
                hash ^= TaskId.GetHashCode();
            }
            if (Content.Length != 0)
            {
                hash ^= Content.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 11
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TaskId != 0)
            {
                hash ^= TaskId.GetHashCode();
            }
            if (QuestType != 0)
            {
                hash ^= QuestType.GetHashCode();
            }
            if (Difficulty != 0)
            {
                hash ^= Difficulty.GetHashCode();
            }
            if (IsRepeat != 0)
            {
                hash ^= IsRepeat.GetHashCode();
            }
            if (CanDisplay != 0)
            {
                hash ^= CanDisplay.GetHashCode();
            }
            if (IsValidity != 0)
            {
                hash ^= IsValidity.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= rewards_.GetHashCode();
            hash ^= commitRequirements_.GetHashCode();
            hash ^= recieveRequirements_.GetHashCode();
            return(hash);
        }
Ejemplo n.º 12
0
 public override int GetHashCode() => TaskId.GetHashCode();
Ejemplo n.º 13
0
 public override int GetHashCode()
 {
     return(TaskId.GetHashCode());
 }
Ejemplo n.º 14
0
 public override int GetHashCode()
 {
     return(TaskId.GetHashCode() + CallbackId.GetHashCode() + ClientId.GetHashCode());
 }
Ejemplo n.º 15
0
 /// <inheritdoc/>
 protected override ulong CalculateLongHashCode()
 {
     return(base.CalculateLongHashCode() ^ (ulong)TaskId.GetHashCode() ^ (ulong)Math.Abs(SystemTask?.GetHashCode() ?? 0));
 }