Пример #1
0
        public static void EmitArguments(IndentedTextWriter writer, IEnumerable <Action <ExpressionBuilder> > arguments)
        {
            bool isFirstArgument = true;

            foreach (var argument in arguments)
            {
                if (isFirstArgument)
                {
                    isFirstArgument = false;
                }
                else
                {
                    writer.Write(", ");
                }

                argument(new ExpressionBuilder(writer.GetSubWriter()));
            }
        }