well, if you are proxying a real typeIf you are proxying an interface, that is harder.
On Thu, Jan 29, 2009 at 2:16 PM, Ayende Rahien <[email protected]> wrote: > yes > > > On Thu, Jan 29, 2009 at 1:08 PM, Ken Egozi <[email protected]> wrote: > >> not sure. >> >> would >> .GetType().BaseType >> do the trick? >> >> On Thu, Jan 29, 2009 at 4:48 AM, Tyler Burd <[email protected]> wrote: >> >>> I have a proxied instance of an object. Is there a way to determine >>> the "real" type that is being proxied at runtime? >>> >>> >>> >>> So given the following: >>> >>> >>> >>> Real Type: MyType >>> >>> Proxy Type: MyTypeProxy124934553rikgnoi2 >>> >>> >>> >>> If I have an instance of MyTypeProxy124934553rikgnoi2, how can I >>> determine programmatically that it wraps MyType? >>> >>> >>> >>> Thanks! >>> >>> >>> >>> Tyler >>> >>> >>> >> >> >> -- >> Ken Egozi. >> http://www.kenegozi.com/blog >> http://www.delver.com >> http://www.musicglue.com >> http://www.castleproject.org >> http://www.gotfriends.co.il >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
