Interface IDependencyInjectionMarker<TMarker>
- Assembly
- Cuemon.Extensions.DependencyInjection.dll
Defines a generic way to support multiple implementations of a given service for Microsoft Dependency Injection.
public interface IDependencyInjectionMarker<TMarker>
Type Parameters
TMarker
The type used to uniquely mark the implementation that this service represents.
- Extension Methods
Remarks
Inspiration gathered from: https://blog.rsuter.com/dotnet-dependency-injection-way-to-work-around-missing-named-registrations/