To make a class invisible outside the workspace ?

  • Thread starter Thread starter ORC
  • Start date Start date
O

ORC

I have a namespace in which i have a class and 3 internal helperclasses. In
the file that includes the namespace I would like not to being able to see
the helper classes e.g. when writting:
MyNamespace.MyClass ( this is OK)
MyNamespace.HelperClass1 (this is what I would like to cause an error and
not even be possible to see in the Intellisense window).

Is it possibæle to hide helperclasses and structs etc. ???

Thanks,
Ole
 
OK - figured it out. It is actually quite easy:
I implemented the helper classes and interfaces as private members of the
main class - works !

Thanks
Ole
 
Back
Top