No, Reflection is used to inspect and use metadata of *existing *types.
Reflection.Emit is used to generate *new* types at runtime, which is what Castle DP is doing.

So it appears there's no way to get DP-like behavior for WP7 :-/

Krzysztof

On 2010-04-11 12:24, Michael Sync wrote:
Please correct me if I'm wrong. We should be able to use Reflection instead of Reflection.Emit to create a type, right?


Thanks and Best Regards,
Michael Sync

Don't go the way life takes you.
Take life the way you go

http://michaelsync.net


2010/4/11 Krzysztof Koźmic <[email protected] <mailto:[email protected]>>

    I meant Monitor classes are used instead of SlimReadWriteLock.
    Reflection.Emit is the heart and core of DynamicProxy - it is how
    proxy types are created. There's no other way to do it in .NET



    Krzysztof


--
You received this message because you are subscribed to the Google Groups "Castle 
Project Development List" 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-devel?hl=en.

Reply via email to