Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.774 Beiträge
 
#1

Multiple Attributes in One Line

  Alt 22. Okt 2012, 13:10
Apparently Delphi (at least XE2, didn’t test with others) allows you to write a comma-separated attribute list inside square brackets when annotating types and type members. IOW, following two code fragments are identical. [Name(CNameModule2Sub1)] [Description('Submodule 2.1)] TModule2Sub1Info = ...

More...
  Mit Zitat antworten Zitat