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

            return
                ((
                     ServiceRanking == other.ServiceRanking ||
                     ServiceRanking != null &&
                     ServiceRanking.Equals(other.ServiceRanking)
                     ) &&
                 (
                     PathPrefix == other.PathPrefix ||
                     PathPrefix != null &&
                     PathPrefix.Equals(other.PathPrefix)
                 ) &&
                 (
                     CreateVersion == other.CreateVersion ||
                     CreateVersion != null &&
                     CreateVersion.Equals(other.CreateVersion)
                 ));
        }
Пример #2
0
 public bool Equals(Node node) =>
 PathPrefix.Equals(node.PathPrefix) &&
 NodeName.Equals(node.NodeName) &&
 IsFileNode.Equals(node.IsFileNode);