Interface IModule
Defines a contract for a module that can register its services with a dependency resolver.
public interface IModule
- Extension Methods
Remarks
Implement this interface to provide custom service registrations for use with a dependency injection container. Modules are typically used to organize related service registrations and can be composed to build application functionality.
Methods
Configure(IMutableDependencyResolver)
Configures the specified dependency resolver with required services and components.
void Configure(IMutableDependencyResolver resolver)
Parameters
resolverIMutableDependencyResolverThe dependency resolver to configure. Cannot be null.