Possible Duplicate:
Comment Inheritance for C# (actually any language)
In my application, my base class clearly defines the purpose of each virtual method.
When I inherit my base class and override the virtual methods, I'm having to re-type the comments.
Now, I know why it doesn't copy the comments by default and it makes sense but as I have many classes inheriting from my base class it's getting tiresome to copy the entire XML comments to add an additional <para>
to the bottom of the comments.
Is this just the way it is?
You could use ReSharper. Whenever you implement any interface it will bring over the XML comments as well (if you so choose).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With