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

            return
                ((
                     Typeid == other.Typeid ||
                     Typeid != null &&
                     Typeid.Equals(other.Typeid)
                     ) &&
                 (
                     FeedbackTypeName == other.FeedbackTypeName ||
                     FeedbackTypeName != null &&
                     FeedbackTypeName.Equals(other.FeedbackTypeName)
                 ) &&
                 (
                     FeedbackTypeDescription == other.FeedbackTypeDescription ||
                     FeedbackTypeDescription != null &&
                     FeedbackTypeDescription.Equals(other.FeedbackTypeDescription)
                 ));
        }