public bool Equals(DsfConsumeRabbitMQActivity other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            var isSourceEqual = CommonEqualityOps.AreObjectsEqual <IResource>(RabbitSource, other.RabbitSource);

            return(base.Equals(other) &&
                   string.Equals(Result, other.Result) &&
                   Prefetch == other.Prefetch &&
                   TimeOut == other.TimeOut &&
                   IsObject == other.IsObject &&
                   string.Equals(ObjectName, other.ObjectName) &&
                   RabbitMQSourceResourceId.Equals(other.RabbitMQSourceResourceId) &&
                   string.Equals(QueueName, other.QueueName) &&
                   string.Equals(DisplayName, other.DisplayName) &&
                   string.Equals(Response, other.Response) &&
                   string.Equals(Prefetch, other.Prefetch) &&
                   Acknowledge == other.Acknowledge &&
                   string.Equals(TimeOut, other.TimeOut) &&
                   ReQueue == other.ReQueue &&
                   isSourceEqual);
        }
#pragma warning disable S1541 // Methods and properties should not be too complex
        public bool Equals(DsfPublishRabbitMQActivity other)
#pragma warning restore S1541 // Methods and properties should not be too complex
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            var isSourceEqual = CommonEqualityOps.AreObjectsEqual <IResource>(RabbitMQSource, other.RabbitMQSource);

            return(base.Equals(other) &&
                   RabbitMQSourceResourceId.Equals(other.RabbitMQSourceResourceId) &&
                   string.Equals(QueueName, other.QueueName) &&
                   IsDurable == other.IsDurable &&
                   IsExclusive == other.IsExclusive &&
                   IsAutoDelete == other.IsAutoDelete &&
                   string.Equals(Message, other.Message) &&
                   string.Equals(DisplayName, other.DisplayName) &&
                   isSourceEqual);
        }
        public bool Equals(DsfPublishRabbitMQActivity other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            var isSourceEqual = CommonEqualityOps.AreObjectsEqual <IResource>(RabbitMQSource, other.RabbitMQSource);

            return(base.Equals(other) &&
                   RabbitMQSourceResourceId.Equals(other.RabbitMQSourceResourceId) &&
                   string.Equals(QueueName, other.QueueName) &&
                   IsDurable == other.IsDurable &&
                   IsExclusive == other.IsExclusive &&
                   IsAutoDelete == other.IsAutoDelete &&
                   string.Equals(Message, other.Message) &&
                   string.Equals(DisplayName, other.DisplayName) &&
                   isSourceEqual);
        }