So I've the following scenario:
class A
{
public event MyEventHandler MyEvent;
}
abstract class B : MarshalByRefObject
{
public event MyEventHandler MySecondEvent;
private A subClass;
}
Now what I'd like to achieve is, Class B, MySecondEvent to basically combine event MyEvent from Class A, so when A event hits, B does as well.
I know I could achieve that subscribing via constructor but that's not an option here. And the inherited class also can't access base class's subClass.
What would be the best solution in such case? Thanks!