Table of Contents

Namespace Cuemon.Extensions.DependencyInjection

Assembly: Cuemon.Extensions.DependencyInjection.dll

The Cuemon.Extensions.DependencyInjection namespace contains extension methods that complements the Microsoft.Extensions.DependencyInjection namespace.

Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0

Complements: Microsoft.Extensions.DependencyInjection namespace 🔗

Extension Methods

Type Ext Methods
IServiceCollection ⬇️ Add, Add{TOptions}, Add{TService, TImplementation}, Add{TService, TImplementation, TOptions}, TryAdd, TryAdd{TOptions}, TryAdd{TService, TImplementation}, TryAdd{TService, TImplementation, TOptions}
type ⬇️ TryGetDependencyInjectionMarker

Classes

ServiceCollectionExtensions

Extension methods for the Microsoft.Extensions.DependencyInjection.IServiceCollection interface.

ServiceOptions

Configuration options for Microsoft Dependency Injection.

ServiceProviderExtensions

Extension methods for the System.IServiceProvider interface.

TypeExtensions

Extension methods for the System.Type class.

TypeForwardServiceOptions

Configuration options for Microsoft Dependency Injection that support nested type forwarding.

Interfaces

IDependencyInjectionMarker<TMarker>

Defines a generic way to support multiple implementations of a given service for Microsoft Dependency Injection.