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

            return
                ((
                     SearchPattern == other.SearchPattern ||
                     SearchPattern != null &&
                     SearchPattern.Equals(other.SearchPattern)
                     ) &&
                 (
                     ReplacePattern == other.ReplacePattern ||
                     ReplacePattern != null &&
                     ReplacePattern.Equals(other.ReplacePattern)
                 ));
        }