Hi,
I am writing a serial communications dll. Let's call it MyDll
In the dll I have a class called CommsController which handles connection, disconnection via methods MyDll.CommsController.Connect etc.
A number of actions must be performed by the dll so, in order to keep the CommsController class at a sensible length, I want to have a method called DoAction which then calls methods from another class called Actions.
Let's say class actions has methods Sleep and Wake
I don't know how to structure things such that the methods of class Actions are exposed via MyDll.CommsController.DoAction.
I hope somebody understands what I am trying to do and can point me in the right direction.




Reply With Quote