O'Reilly logo

Dependency Injection in .NET by Mark Seemann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. DI patterns

Menu

  • CONSTRUCTOR INJECTION
  • PROPERTY INJECTION
  • METHOD INJECTION
  • AMBIENT CONTEXT

Like all professionals, cooks have their own jargon that allow them to communicate about complex food preparation in a language that often sounds esoteric to the rest of us. It doesn’t help that most of the terms they use are based on French (unless you already speak French, that is).

Sauces are a great example of the way cooks use their professional terminology. In chapter 1, I briefly discussed sauce béarnaise, but I didn’t elaborate on the taxonomy that surrounds it (see figure 4.1).

Figure 4.1. Several sauces are based on sauce hollandaise. In a sauce béarnaise the lemon is replaced with a reduction of vinegar and certain herbs, whereas ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required