Hidden public class

Hello,

2 Questions:

1. I'm doing some WPF stuff and in order to expose things to XAML I need to define the class as public. However, I don't want anyone from outside the assembly to play with the class. Is there a way I could at least hide class so it won't show in intellisense?

2. Is there a way I can markup my private members so they show up under the Non-Public Members tree node in the debugger? (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1461968&SiteID=1)

Thanks

[696 byte] By [h1] at [2008-1-2]

Visual Studio Orcas

Site Classified