Esempio 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()})";
Esempio 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()})";