pmacn / DocPlagiarizer

A custom build task that will copy xml documentation comments from interfaces to implementations.
MIT License
4 stars 1 forks source link

Get comments from base classes #18

Open pmacn opened 10 years ago

pmacn commented 10 years ago

Should also be copying comments from base classes. Not just interfaces.

When classes are involved in the inheritance chain we should copy comments from the closest class that that has a declaration for the specific member, and also has documentation for that member. If no class has as declaration of the member or has a declaration but no documentation the comments will be taken from the member declaration on the interface as usual.

These rules would apply to the new run mode. With the already existing run mode the comments would just trickle down. So we would take comments first from interfaces if there is one. Secondly walk down the inheritance tree copying the first documentation found.

KatDevsGames commented 8 years ago

Assuming this project is long dead?

pmacn commented 8 years ago

It's safe to assume that I won't' be getting to it any time soon unless things change drastically