Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I inherit C#'s summary in another class? (like inheriting Javadoc) [duplicate]

Possible Duplicate:
.NET xml docs - inheriting documentation

Can I use something like Javadoc's {@inheritDoc} in C#.NET ?

F.e. I write summary for interface method and method of implemented class does exactly what I wrote there, so I am copy+pasting atm. which doesn't seem very wise.

Thanks

like image 824
Xorty Avatar asked Dec 29 '10 15:12

Xorty


2 Answers

You can use Xtensive.MSBuildTasks (broken link) to automatically copy the documentation for you.

Another option is Sandcastle that has the <inheritdoc /> tag.

like image 104
Mark Byers Avatar answered Sep 21 '22 17:09

Mark Byers


There's an add-on called GhostDoc, which allows you to copy the text with a simple keystroke.

http://submain.com/products/ghostdoc.aspx

like image 31
Brian Avatar answered Sep 18 '22 17:09

Brian