开发者

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

开发者 https://www.devze.com 2023-02-01 21:30 出处:网络
This question already has answers here: Closed 12 years ago. Possible Duplicate: .NET xml docs - inherit开发者_如何学运维ing documentation
This question already has answers here: Closed 12 years ago.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消