Пример #1
0
        public string Evaluate(RewriteContext context, BackReferenceCollection ruleBackReferences, BackReferenceCollection conditionBackReferences)
        {
            foreach (var pattern in PatternSegments)
            {
                context.Builder.Append(pattern.Evaluate(context, ruleBackReferences, conditionBackReferences));
            }
            var retVal = context.Builder.ToString();

            context.Builder.Clear();
            return(retVal);
        }