Beispiel #1
0
        /// <summary>
        /// Returns true if InputStepImpl instances are equal
        /// </summary>
        /// <param name="other">Instance of InputStepImpl to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(InputStepImpl other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Class == other.Class ||
                     Class != null &&
                     Class.Equals(other.Class)
                     ) &&
                 (
                     Links == other.Links ||
                     Links != null &&
                     Links.Equals(other.Links)
                 ) &&
                 (
                     Id == other.Id ||
                     Id != null &&
                     Id.Equals(other.Id)
                 ) &&
                 (
                     Message == other.Message ||
                     Message != null &&
                     Message.Equals(other.Message)
                 ) &&
                 (
                     Ok == other.Ok ||
                     Ok != null &&
                     Ok.Equals(other.Ok)
                 ) &&
                 (
                     Parameters == other.Parameters ||
                     Parameters != null &&
                     other.Parameters != null &&
                     Parameters.SequenceEqual(other.Parameters)
                 ) &&
                 (
                     Submitter == other.Submitter ||
                     Submitter != null &&
                     Submitter.Equals(other.Submitter)
                 ));
        }