I'm trying to identify the original interface within a generic method:

IAuthoredBy test = MockRepository.GenerateStub<IAuthoredBy>();

If I pass test to a generic method and look at the type's full name I get

IAuthoredByProxyd835aff2a29d4d0cb7a36b613ff837e0

Is there a good way to identify that it was originally IAuthoredBy. I could
look for Proxy and a 32 character GUID at the end but was hoping for
something a bit more robust.

Iain

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" 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/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to