I understand why every method needs to be proxied, if you are proxying. I'm not understanding how proxing the root object helps a lot. Is there any analyisis on performance gains?
On Thu, Oct 30, 2008 at 9:13 AM, Ayende Rahien <[EMAIL PROTECTED]> wrote: > The methods needs to be as well. > The reasoning is that if you make a call on the method, you will use the > object data, so we must intercept and handle this scenario > > On Thu, Oct 30, 2008 at 2:58 PM, Fabio Maulo <[EMAIL PROTECTED]> wrote: >> >> 2008/10/30 Colin Ramsay <[EMAIL PROTECTED]> >>> >>> It's the whole class which gets proxied, not just the individual >>> properties and methods. I believe you can generate an interface to use >>> as a proxy instead of making them all virtual but I'm not sure if that >>> would be easier for you or not. >> >> Sure the whole class but not all methods and, if you are encapsulating >> properties, only the properties really need to have virtual accessor >> modifier. >> -- >> Fabio Maulo >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
