How can I inherit C#'s summary in another class? (like inheriting Javadoc) [duplicate]
Possible Duplicate:
.NET xml docs - inherit开发者_如何学运维ing 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
You can use Xtensive.MSBuildTasks (broken link) to automatically copy the documentation for you.
Another option is Sandcastle that has the <inheritdoc />
tag.
There's an add-on called GhostDoc, which allows you to copy the text with a simple keystroke.
http://submain.com/products/ghostdoc.aspx
精彩评论