S
sloan
How does one "pass thru" a Raised Event....
I am using the Adapter Pattern to sync up some different interfaces.
http://www.dofactory.com/Patterns/PatternAdapter.aspx
My Question is this:
ClassA raises an event.
I have a ClassB which is using ClassA , but does not expose it in anyway
(aka, no public property exposing the instanitated ClassA). (for reasons
like the pattern above)
ClassC is using ClassB.
When an event in ClassA is raised, I want ClassC to know about it, without
any knowledge (necessarily) that ClassB exists.
I know how to subscribe to Events, but I don't know how to "pass the event
thru" in this scenario.
If I need to provide more concrete information, then let me know.
I am using the Adapter Pattern to sync up some different interfaces.
http://www.dofactory.com/Patterns/PatternAdapter.aspx
My Question is this:
ClassA raises an event.
I have a ClassB which is using ClassA , but does not expose it in anyway
(aka, no public property exposing the instanitated ClassA). (for reasons
like the pattern above)
ClassC is using ClassB.
When an event in ClassA is raised, I want ClassC to know about it, without
any knowledge (necessarily) that ClassB exists.
I know how to subscribe to Events, but I don't know how to "pass the event
thru" in this scenario.
If I need to provide more concrete information, then let me know.