阅读背景:

如何隐藏intellisense中的公共方法

来源:互联网 

I want to hide public methods from the intellisense member list. I have created an attribute that when applied to a method will cause the method to be called when its object is constructed. I've done this to better support partial classes. The problem is that in some environments (such as Silverlight), reflection cannot access private members even those of child classes. This is a problem since all of the work is done in a base class. I have to make these methods public, but I want them to be hidden from intellisense, similar to how the I want to hide public methods from the intellis




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: