Yes.. Seems like there will be no mocking at all.. but I'm just trying to
figure out a way since we all need Mocking or Interception. Do you think we
should try to port Mono RF.Emit? :)

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]>

>  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]>
>
>> 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]<castle-project-devel%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-devel?hl=en.
>

-- 
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