concept multiple implementation in category .net

appears as: multiple implementations
Dependency Injection in .NET

This is an excerpt from Manning's book Dependency Injection in .NET.

In this section, we’ll look at each of these cases and see how Autofac addresses each one in turn. When we’re done, you should be able to register and resolve components even when multiple implementations of the same ABSTRACTION are in play.

Configuring multiple implementations of the same service

As you saw in section 13.1.2, you can register multiple implementations of the same interface: