crptcblade
Feb 11th, 2003, 09:17 PM
Is it possible to share a namespace across multiple libraries? For instance, I have used namespace Joe in one class library, and I would like the classes in that library to show up in the same list as the classes in another library that also defines the namespace Joe.
Right now, I have this...
Imports SomeLib.Joe
Imports SomeOtherLib.Joe
'blah, blah
Dim x As [SomeLib.Joe.]SomeClass '...
And I would just like to be able to do
Imports Joe
And have access to SomeLib's classes, and SomeOtherLib's classes.
The same way System works. There is a separate System.IO component, System.XML, System.Text, etc, and yet they all show up under the common System namespace. See what I mean?
:)
Right now, I have this...
Imports SomeLib.Joe
Imports SomeOtherLib.Joe
'blah, blah
Dim x As [SomeLib.Joe.]SomeClass '...
And I would just like to be able to do
Imports Joe
And have access to SomeLib's classes, and SomeOtherLib's classes.
The same way System works. There is a separate System.IO component, System.XML, System.Text, etc, and yet they all show up under the common System namespace. See what I mean?
:)