2
shouts

Holsee's Blog » D.I. Container ‘Resolve Self’ – The How & Why not!

posted by holseeholsee 234 days, 2 hours, 8 minutes ago
Wednesday, December 09, 2009 12:04:26 PM GMT

Recently I was wondering how PRISM (Composite Application Guidance for WPF & Silverlight) achieved a magic trick with its dependency injection (DI) container. I knew in PRISM you are free to swop in your own DI container, which is nice but I was wondering how you achieved the trick of having your container available within itself. What do I mean?  Put simple being able to resolve your DI Container in any class within your application. Example: Where ‘Foo’ is just a plain old class within the applicati...

category: Architecture | clicked: 2 | | source: www.blog.holsee.com | show counter code
tags: Dependecy Injection, Patterns&Practices, Unity

No comments yet, be the first one to post comment.

To post your comment please login or signup