public bool Equals(SuspendExecutionActivity other)
        {
            if (other is null)
            {
                return(false);
            }

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

            var activityFuncComparer = new ActivityFuncComparer();
            var equals = base.Equals(other);

            equals &= Equals(SuspendOption, other.SuspendOption);
            equals &= string.Equals(PersistValue, other.PersistValue);
            equals &= Equals(AllowManualResumption, other.AllowManualResumption);
            equals &= Equals(EncryptData, other.EncryptData);
            equals &= Equals(Response, other.Response);
            equals &= Equals(Result, other.Result);
            equals &= activityFuncComparer.Equals(SaveDataFunc, other.SaveDataFunc);

            return(equals);
        }
Example #2
0
        public bool Equals(DsfForEachActivity other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

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

            var activityFuncComparer = new ActivityFuncComparer();
            var equals = activityFuncComparer.Equals(DataFunc, other.DataFunc);

            return(base.Equals(other) &&
                   string.Equals(ForEachElementName, other.ForEachElementName) &&
                   string.Equals(DisplayName, other.DisplayName) &&
                   ForEachType == other.ForEachType &&
                   string.Equals(From, other.From) &&
                   string.Equals(To, other.To) &&
                   string.Equals(Recordset, other.Recordset) &&
                   string.Equals(CsvIndexes, other.CsvIndexes) &&
                   string.Equals(NumOfExections, other.NumOfExections) &&
                   Equals(test, other.test) &&
                   @equals &&
                   FailOnFirstError == other.FailOnFirstError &&
                   string.Equals(ElementName, other.ElementName));
        }
        public bool Equals(ManualResumptionActivity other)
        {
            if (other is null)
            {
                return(false);
            }

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

            var activityFuncComparer = new ActivityFuncComparer();
            var equals = base.Equals(other);

            equals &= Equals(SuspensionId, other.SuspensionId);
            equals &= Equals(OverrideInputVariables, other.OverrideInputVariables);
            equals &= Equals(Response, other.Response);
            equals &= activityFuncComparer.Equals(OverrideDataFunc, other.OverrideDataFunc);
            return(equals);
        }
Example #4
0
        public bool Equals(DsfSelectAndApplyActivity other)
        {
            if (other is null)
            {
                return(false);
            }

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

            var activityFuncComparer = new ActivityFuncComparer();

            return(base.Equals(other) &&
                   string.Equals(_previousParentId, other._previousParentId) &&
                   Equals(_originalUniqueID, other._originalUniqueID) &&
                   string.Equals(_childUniqueID, other._childUniqueID) &&
                   string.Equals(DataSource, other.DataSource) &&
                   string.Equals(Alias, other.Alias) &&
                   activityFuncComparer.Equals(ApplyActivityFunc, other.ApplyActivityFunc));
        }