Exemplo n.º 1
0
        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(IssueRecordV4 input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     this.Id == input.Id ||
                     (this.Id != null &&
                      this.Id.Equals(input.Id))
                     ) &&
                 (
                     this.CreatedTime == input.CreatedTime ||
                     (this.CreatedTime != null &&
                      this.CreatedTime.Equals(input.CreatedTime))
                 ) &&
                 (
                     this.User == input.User ||
                     (this.User != null &&
                      this.User.Equals(input.User))
                 ) &&
                 (
                     this.Details == input.Details ||
                     this.Details != null &&
                     input.Details != null &&
                     this.Details.SequenceEqual(input.Details)
                 ));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(IssueRecordV4 input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     this.User == input.User ||
                     (this.User != null &&
                      this.User.Equals(input.User))
                     ) &&
                 (
                     this.Details == input.Details ||
                     this.Details != null &&
                     input.Details != null &&
                     this.Details.SequenceEqual(input.Details)
                 ));
        }