Interface documentation not accessible from interface implementation class

Can I somehow instruct the visual studio to automatically copy any XML interface document to the implementation class?

Accordingly, MSDN How-To has been updated for this exact effect only 2 months ago, as expected. But I just can’t reproduce this behavior. Also looking at the xml file in this article, there is actually no entry to implement the interface.

+6
source share
3 answers

As far as I know, VS itself cannot do this. Our VSdocman automatically inherits comments from the base and implemented types when creating documentation. Moreover, it can explicitly add an inherited comment to the source code.

+1
source

I use subain GhostDoc - this is a free plug-in for visual studio that automatically documents blocks of code, either by copying from the documentation of the base class / interface, or by reasonably trying to guess the documentation (which is surprisingly effective). These days I could not develop.

+2
source

You can use Sandbule Help File Builder
it has <inheritdoc/> , which allows you to inherit documentation from the base types.

+1
source

Source: https://habr.com/ru/post/890725/


All Articles