Have you registered some types in your bootstrapper like I have? Through Prism’s Dependency Injection, I’ve been passing the EventAggregator around to my objects as a parameter. I’ve also passed in some other registered types, but then I got to thinking…why not just resolve it through the UnityContainer? Instead of injecting all the registered types I need, I can just pass in a single IUnityContainer and resolve all of the types I need. Pretty slick!
Tuesday, September 21, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment