Click here to Skip to main content
11,639,765 members (60,205 online)
Click here to Skip to main content
Add your own
alternative version

DI and Pervasive services

, 12 Aug 2010 CPOL 5.8K 7
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?
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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.

You may also be interested in...

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