I have a public class, MainObject that is in a class library (dll), for this example we will call it BaseLibrary.
I have a higher level class library that references the BaseLibrary to gain access to it's members. We will call this one DeviceLibrary.
I then have a Windows Forms Project, DeviceControl, in which I have added a reference to DeviceLibrary.
If I need to use a MainObject object, how do I do it? I know I can just add a second reference in the DeviceControl project to the BaseLibrary but I am just wondering if there is another way to access it through the DeviceLibrary? I am not sure what the laws of encapsulation dictate here...