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

Xorty picture Xorty · Dec 29, 2010 · Viewed 7.6k times · Source

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

Answer

Mark Byers picture Mark Byers · Dec 29, 2010

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

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