如何自动生成在VS 2008中或使用$ C $美眉防爆preSS方法存根?存根、自动生成、中或、美眉

2023-09-06 14:26:23 作者:刪除式ヽ記憶

最近我实现了这不得不说我应该实施一些130个成员的接口(C#,但我认为是不相关的)。

Recently I implemented an interface which had some 130 members that i should implement (C#, but i think thats irrelevant).

我怎么能自动生成stub所有这些,在VS 2008

How can i generate the stubs for all those automatically, in VS 2008

编辑:如果它不可能在VS 2008中,我还安装了$ C $美眉防爆preSS,可以有人指导我如何做,与CR防爆preSS

If its not possible in VS 2008, i've also installed Coderush Express, can some one guide me on how to do that with CR Express ?

推荐答案

左键点击界面上,选择实现接口。

Left click on the interface, select "implement interface."

public class Whatever : IXmlSerializable

您需要附近的我,有一个小下划线点击。

You need to click near the "I" that has a little underline.

此外,其他工具,如ReSharper的和DevEx preSS为你做了。

Also, other tools such as Resharper and DevExpress do it for you too.

您使用VS.NET专业?

Are you using VS.NET Professional?