Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I propagate XML documentation from an interface to its implementation?

I need to propagate XML documentation from a base class to derivative(s) or from an interface to implementation(s).

Can I do this using Resharper?

like image 982
void Avatar asked May 18 '11 09:05

void


1 Answers

Yes you can.

If you're yet to implement/override members, then in a derived class or interface implementation, click Alt+Ins, choose "Overriding members" or "Implement missing members". In the wizard that displays afterwards, choose members to implement/override, and make sure to select "Copy XML documentation".

Alternatively, if you already have an overridden or implemented member in place, press Alt+Enter on the overridden/implemented member, and select "Copy comments from base".

like image 154
Jura Gorohovsky Avatar answered Nov 19 '22 11:11

Jura Gorohovsky