You write a ISubDependencyResolver

On Wed, May 13, 2009 at 5:47 AM, Tiendq <[email protected]> wrote:

>
> You know in many case we will need access to HttpContext,
> HttpRequest... objects from other layers (other components), not just
> in web presentation layer. I don't want these code are coupled with
> these above object by using, for example,
> HttpContext.Current.Request.propertyname. How can I inject a
> HttpBaseContext in this case? I'm using ASP.NET MVC so I prefer
> HttpBaseContext so I can mock it in unit test.
>
> Thanks,
> >
>

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

Reply via email to