开发者

Question about Visual Studio 2010 stub generator

Whenever I generate a stub method in VS 2010 I'm automatically getting a private stub by default..

Is there any way to change once and for all the default choice of the generator to internal for example?

Or I'm not allowed to interfere with the default generator setti开发者_运维技巧ng and therefore if I want a change I must always do it only manually?

Thanks


? what method are you using for generating your stubs? I usually just use the snippet "prop"(tab-tab) and it throws out public properties.

Failing that, you can write your own snippets. http://www.visualstudiotutor.com/2010/02/create-snippet-visual-studio-2010/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜