Is it possible to stay in the same class within two namespaces and how can I do this?
To clarify: We have a class library (suppose that the root namespace classlib is 1), which is over time (more square) and I have reasonably different names I want to group classes in However, some older classes need to distribute these new namespaces (for example classLib1.section1) and by doing so, the legacy code in other classes will be broken, which use this class library. That's why I want to be able to use a class name-space, as long as we can not get old people out.
I did not find any information on this, which shows that people do not want to do this !!!
No, there is no way to give a single class two name (name space is actually class name Is a part of).
As an alternative solution, you can move sections to your new location, and the old location (mask pattern). A better solution, of course, is to move the sections and fix the legacy code accordingly.
Comments
Post a Comment