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

            return
                ((
                     EventFilter == other.EventFilter ||
                     EventFilter != null &&
                     EventFilter.Equals(other.EventFilter)
                     ) &&
                 (
                     MinThreadPoolSize == other.MinThreadPoolSize ||
                     MinThreadPoolSize != null &&
                     MinThreadPoolSize.Equals(other.MinThreadPoolSize)
                 ) &&
                 (
                     MaxThreadPoolSize == other.MaxThreadPoolSize ||
                     MaxThreadPoolSize != null &&
                     MaxThreadPoolSize.Equals(other.MaxThreadPoolSize)
                 ) &&
                 (
                     CqWcmWorkflowTerminateOnActivate == other.CqWcmWorkflowTerminateOnActivate ||
                     CqWcmWorkflowTerminateOnActivate != null &&
                     CqWcmWorkflowTerminateOnActivate.Equals(other.CqWcmWorkflowTerminateOnActivate)
                 ) &&
                 (
                     CqWcmWorklfowTerminateExclusionList == other.CqWcmWorklfowTerminateExclusionList ||
                     CqWcmWorklfowTerminateExclusionList != null &&
                     CqWcmWorklfowTerminateExclusionList.Equals(other.CqWcmWorklfowTerminateExclusionList)
                 ));
        }
Пример #2
0
        /// <summary>
        /// Returns true if ComDayCqWcmDesignimporterImplCanvasPageDeleteHandlerProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqWcmDesignimporterImplCanvasPageDeleteHandlerProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqWcmDesignimporterImplCanvasPageDeleteHandlerProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     MinThreadPoolSize == other.MinThreadPoolSize ||
                     MinThreadPoolSize != null &&
                     MinThreadPoolSize.Equals(other.MinThreadPoolSize)
                     ) &&
                 (
                     MaxThreadPoolSize == other.MaxThreadPoolSize ||
                     MaxThreadPoolSize != null &&
                     MaxThreadPoolSize.Equals(other.MaxThreadPoolSize)
                 ));
        }