Class NinjectSplatModule
Provides a Ninject-based implementation of the Splat dependency injection module for configuring dependency resolution.
public sealed class NinjectSplatModule : IModule
- Inheritance
-
NinjectSplatModule
- Implements
- Extension Methods
Remarks
This module enables integration between Ninject and Splat by registering Ninject as the dependency resolver. Use this module to allow Splat-based components to resolve dependencies from a Ninject container.
Constructors
NinjectSplatModule(IKernel)
Initializes a new instance of the NinjectSplatModule class.
public NinjectSplatModule(IKernel kernel)
Parameters
kernelIKernelThe Ninject container.
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.