Annotating Methods in Delphi?

The feature is named XML Documentation Comments and is documented here. It appears to have been modelled closely on the equivalent .net feature so you should be right at home with it. The documentation contains this example: /// <summary> Removes the specified item from the collection /// </summary> /// <param name=”Item”>The item to remove /// … Read more

Rendering constants into XML documentation?

Add a summary to each constant containing the value, then refer to those comments: /// <summary>24</summary> private const byte _minAge = 24; /// <summary>29</summary> private const byte _maxAge = 29; /// <summary>Checks whether the age is within the allowed range (between <inheritdoc cref=”_minAge”/> and <inheritdoc cref=”_maxAge”/>).</summary> public bool IsInAgeRange() { … } I know it’s … Read more

How to generate XML documentation for CSPROJ with multiple targets

An easy way is to set the GenerateDocumentationFile property to true. The VS UI want to set the path, the MSBuild targets will set this property to true if the path is set or set a default path if the GenerateDocumentationFile property is true. So you can add this to your csproj file: <PropertyGroup> <GenerateDocumentationFile>true</GenerateDocumentationFile> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)