You don't necessarily have that information.  The Transparent Proxy may be
created from the interface definition alone, without having any knowledge
about the concrete object.  Anyway, you seem to be in violation of Liskov's
Substitution Principle.  You may want to add a member to the interface that
provides you with exactly the information you need, instead of relying on
knowing the concrete type.

Ron

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to