Пример #1
0
        public override void Generate(IndentedStringBuilder stringBuilder)
        {
            var argBuilders = Arguments.Select(t => {
                var b = new IndentedStringBuilder();
                t.Generate(b);
                return(b.Builder.ToString());
            });
            var arguments = string.Join(", ", argBuilders);

            stringBuilder.Append($"new {NewType.GetRightFullName()}({arguments})");
        }