In SDF you can create documentation for your code by including XML elements in special comment fields (indicated by triple slashes) in the source code directly before the code block to which the comments refer, for example:
Code: Select all
/// <summary>
/// Description of the function
/// <summary>
/// <param name="A">Description of parameter A</param>
/// <param name="B">Description of parameter B</param>
/// <param name="C">Description of parameter C</param>
/// <param name="D">Description of parameter D</param>
/// <returns>Description of function return value</returns>
double TestFunction(double A, string B, object C, bool D) {
return 0;
}
These XML elements are used to automatically generate HTML documentation by DesignForms_DocGenerator.
List of supported elements:
- <summary>
- <param>
- <returns>
- <code>
- <seealso>
- <example>
- <list>
- <item>