Table of Contents

Class NinjectSplatModule

Namespace
Splat.Builder
Assembly
Splat.Ninject.dll

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

kernel IKernel

The Ninject container.

Methods

Configure(IMutableDependencyResolver)

Configures the specified dependency resolver with required services and components.

public void Configure(IMutableDependencyResolver resolver)

Parameters

resolver IMutableDependencyResolver

The dependency resolver to configure. Cannot be null.