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