English 中文(简体)
when doing a extract to interface, why doesn t it modify the interface previously created?
原标题:

I created an interface in a file, then a class that implements the interface in another file.

If i add a property to the implementation class, is it possible to pass that method signature down to the interface automatically using resharper?

I tried, and it seemed to just create another interface in the same file?

最佳回答

You should use the Pull Members Up refactoring - that does exactly what you need

问题回答

暂无回答




相关问题
Resharper Exception rethrow possibly intended

Consider this method (pardon the sad attempt at Chuck Norris humor :) ): public class ChuckNorrisException : Exception { public ChuckNorrisException() { } public ChuckNorrisException(...

Resharper Auto Complete Statement

I know it s probably something easy, but I just couldn t figure it out. Say I have the following code string name; name.LastIndexOf("aaa"); After I type the single quote Resharper will added ...

Resharper Suggestion Color Issue

I have a strange bug in resharper 4.5 in VS 2005. Instead of doing the usual underline for a suggestion -- IE: telling me that a using statement is unnecessary, it is setting the background to red in ...

StyleCop for ReSharper

I like stylecop and we use it to enforce coding standards. I dont like the fact that there is no way to automatically fix problems. So was thinking of making a plugin. Once I realised that 2010 is ...

How to repair Resharper?

I have problem with Resharper - all it s menu options are greyed, no shortcuts working... I ve tried run installer with repair option - no success Also tried uninstall / install back - same.. :( ...

Shortcut to turn on Resharper

Usually I start VS2008 without Resharper because it makes VS startup way too slow and I just need to fix a bug. But sometimes, I do want to turn on Resharper. Is there a way to setup a keyboard ...

热门标签