This project has moved. For the latest updates, please go here.

How to take summary from base interface

Topics: Developer Forum, User Forum
Nov 18, 2011 at 8:15 PM


Say I have a basic interface that defines some methods. For all of them I do write the summary content. After that I have about 20 derived classes that do implement those methods. When I run SCHF it will generate the help only for interface, for all other child of the interface it requires the same summary tag to be copied from base interface. Is there a way to tell to just copy/paste in all child classes methods the summary tag from base interface-methods?


Nov 19, 2011 at 2:14 AM

Put the <inheritdoc /> tag on the members in the derived classes.  That will import the comments from the base class member.  See the help topic for info on additional options and examples.