使用resharper从庞大的类创建接口 [英] Creating an interface from a huge class using resharper

查看:199
本文介绍了使用resharper从庞大的类创建接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常大的类有很多方法,是否可以使用Resharper从这个类构建一个接口?

I have a very big class with lots of methods, is it possible to build an interface from this class using Resharper?

推荐答案

是。

我的快捷键是Ctrl + Shift + R以显示重构选项。在类名上执行此操作可以提取接口...

My shortcut is Ctrl + Shift + R to bring up the refactoring options. Doing this on the class name allows you to" Extract Interface..."

您可以选择菜单> ReSharper> Refactor> Extract Interface ...

Optionally, you can choose from the menu > ReSharper > Refactor > Extract Interface...

这篇关于使用resharper从庞大的类创建接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆