C# XML documentation: dynamic generation of ID Strings?

140 Views Asked by At

According to this documentation, I should add an unique ID string to each element. This ID string is composed of a code that represent the type of the object, followed by a string that is generally namespace.class.method

Problem is, if the namespace, class, or method names change, the doc has to be updated. In python, I use the name attribute to workaround this kind of problems, when a class is refactored, the doc is also refactored at the same time

Can I do something similar in C# and access the namespace, class name, or method name dynamically ?

I guess the answer is no since C# is a compiled language and the data is not available at this time, but still wondering. Documentation will be generated using Doxygen

0

There are 0 best solutions below