Пример #1
0
 /// <summary>
 /// Constructs an object of a given type
 /// </summary>
 public string Construct(AbstractType type, params string[] args) => $"new {type.NameThat}({args.CommaSeparated()})";
Пример #2
0
 /// <summary>
 /// Constructs an object of a given type
 /// </summary>
 public string Construct(AbstractType type, IEnumerable <string> args) => $"new {type.NameThat}({args.CommaSeparated()})";