Example #1
0
        public virtual void Visit(RSConditionData inConditionData, TableLineRef inSourceRef)
        {
            if (inConditionData == null)
            {
                return;
            }

            inSourceRef = inSourceRef.CombineEnabled(inConditionData.Enabled);

            Visit(inConditionData.Query, inSourceRef);
            Visit(inConditionData.Target, inSourceRef);
        }
Example #2
0
        public virtual void Visit(RSActionData inActionData, TableLineRef inSourceRef)
        {
            if (inActionData == null)
            {
                return;
            }

            inSourceRef = inSourceRef.CombineEnabled(inActionData.Enabled);

            Visit(inActionData.Action, EntityScopedIdentifier.Type.Action, inSourceRef);
            if (inActionData.Arguments != null)
            {
                for (int i = 0; i < inActionData.Arguments.Length; ++i)
                {
                    Visit(inActionData.Arguments[i], inSourceRef);
                }
            }
        }