Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

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?

Revisions


  

Compare Revision Minor Date Status Editor
5 - publicly available No 13-Aug-10 17:15 Available Deeksha Shenoy
3 No 12-Aug-10 20:43 Composing Qwertie
2 No 12-Aug-10 20:38 Composing Qwertie
1 No 12-Aug-10 14:13 Composing Qwertie

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.

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