IContext.CurrentUser => inject the context to service. At different times/projects I had that CurrentUser on IAuthenticationService, IAccountService etc.
On Fri, Nov 14, 2008 at 3:05 AM, Colin Ramsay <[EMAIL PROTECTED]> wrote: > > This is more of a general IoC question, but I'm using Windsor so it > made sense to ask here. Basically I have some services which need to > be aware of the current context - in particular the current user > session. What is the accepted way of supplying such context to a > service in this circumstance? > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
