我知道这是很懒散,但有基于Visual C#2010速成任何方式自动生成一个接口实现? (我没有在运行,但在设计时的意思是,就像一个代码片段)。也许与第三方工具?
I know this is quite lazy but, is there any way on Visual C# 2010 Express to auto-generate an interface implementation? (I don't mean at runtime but at design time, like a code snippet). Perhaps with a third party utility?
推荐答案我不熟悉的快递不够了解,如果他们取消了这一功能,但你应该只可以用鼠标右键单击您的公共MyClass类:MyInterface的语句,然后选择实现Inteface
I'm not familiar with Express enough to know if they removed this feature, but you should just be able to right-click your public class MyClass : MyInterface statement and choose "Implement Inteface".
如果这是在快速删除,你可以随时使用 ReSharper的此功能。
If this is removed in Express, you can always use Resharper for this feature.
更多推荐
自动生成在C#中的接口实现?
发布评论