Class MicrosoftDependencyResolverModule
Provides a module that configures dependency resolution using the Microsoft.Extensions.DependencyInjection service collection.
public sealed class MicrosoftDependencyResolverModule : IModule
- Inheritance
-
MicrosoftDependencyResolverModule
- Implements
- Extension Methods
Remarks
This module enables integration of Microsoft.Extensions.DependencyInjection with dependency resolver frameworks that support modules. It is typically used to bridge third-party or legacy dependency resolution systems with the Microsoft DI container.
Constructors
MicrosoftDependencyResolverModule(IServiceCollection)
Initializes a new instance of the MicrosoftDependencyResolverModule class.
public MicrosoftDependencyResolverModule(IServiceCollection serviceCollection)
Parameters
serviceCollectionIServiceCollectionThe service collection.
Methods
Configure(IMutableDependencyResolver)
Configures the specified dependency resolver with required services and components.
public void Configure(IMutableDependencyResolver resolver)
Parameters
resolverIMutableDependencyResolverThe dependency resolver to configure. Cannot be null.