Class AutofacSplatModule
Provides an Autofac module that integrates Autofac with Splat's dependency resolver system.
public sealed class AutofacSplatModule : IModule
- Inheritance
-
AutofacSplatModule
- Implements
- Extension Methods
Remarks
This module enables the use of Autofac as the dependency resolver for Splat-based applications. It is typically used to configure dependency injection in applications that leverage both Autofac and Splat. The module should be initialized with a valid Autofac ContainerBuilder instance before configuring the resolver.
Constructors
AutofacSplatModule(ContainerBuilder)
Initializes a new instance of the AutofacSplatModule class.
public AutofacSplatModule(ContainerBuilder builder)
Parameters
builderContainerBuilderThe Autofac container builder.
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.