Table of Contents

Class SplatNinjectExtensions

Namespace
Splat.Ninject
Assembly
Splat.Ninject.dll

Provides extension methods for integrating Ninject with Splat by configuring the dependency resolver.

public static class SplatNinjectExtensions
Inheritance
SplatNinjectExtensions

Remarks

This class enables the use of Ninject as the dependency resolver within Splat-based applications. It is intended to be used in application startup code to replace the default dependency resolution mechanism with one backed by a Ninject kernel.

Methods

UseNinjectDependencyResolver(IKernel)

Initializes an instance of NinjectDependencyResolver that overrides the default AppLocator.

public static void UseNinjectDependencyResolver(this IKernel kernel)

Parameters

kernel IKernel

The kernel.