Click here to Skip to main content
Click here to Skip to main content

DI and Pervasive services

, 12 Aug 2010 CPOL
Dependency Injection aids loose coupling. But there are some services that are pervasive, services that you would have to pass to a hundred different constructors if you want to use DI "properly". Is there an alternative?

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Qwertie
Software Developer Trapeze Software, Inc.
Canada Canada
Since I started programming when I was 11, I wrote the SNES emulator "SNEqr", the FastNav mapping component, and LLLPG, among other things. Now I'm old.
 
In my spare time I'm developing a system called Loyc (Language of your choice), which will include an enhanced C# compiler. Many programs have an add-in architecture; why not your programming language? I'm also looking for a life partner. Oh hi future wife! Wazzap.

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.141216.1 | Last Updated 12 Aug 2010
Article Copyright 2010 by Qwertie
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid