Is there support for the <inheritdoc/> tag for inheriting comments from a base class or interface? I've seen the 'Copy Comments' functionality, but I'm looking for something that I can markup in the source code as opposed to the DocumentX project. Thanks
Date
Votes
1 comment
-
Permanently deleted user You can indeed use <inheritdoc/> (an alias for our <contentfrom/> content item type) to copy content from a base member or class. If you want to copy content for all members in a class or interface, you can also use <allcontentfrom/> comment tag.
As well as using without any attributes (to get from the base member/type) you can specifically copy from other members/types by specifying a cref attribute; i.e. if you had 2 very similar classes and didn't want to duplicate the docs.
Please sign in to leave a comment.