Take a look at the Factory design pattern.
Design patterns are to solve problems like this one.
Cheers
[.net] class library using internal classes
Err....I fail to see how the factory pattern has anything to do with his problem. The factory pattern is for creating types at runtime without knowing the full type information, the base interface for the types (ie. IGraphics, IWindow, etc.) would still need to be public leaving him in exactly the same situation.
But yes, design patterns are generally a Good Thing.
But yes, design patterns are generally a Good Thing.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement