Пример #1
0
 public FmtToken Format() =>
 this.TypeArguments.IsEmpty
         ? FmtToken.Single(this.Type, "type")
         : FmtToken.Concat(this.Type, FmtToken.FormatArray(this.TypeArguments, "<", ">"))
 .WithTokenNames("type", "genericParameters");
Пример #2
0
 public override FmtToken Format() => FmtToken.Single(TypeName, "typeName");