Show / Hide Table of Contents

Class NinjectServiceLocator

ServiceLocator implementation for Ninject

Inheritance
System.Object
CommonServiceLocator.ServiceLocatorImplBase
NinjectServiceLocator
Implements
CommonServiceLocator.IServiceLocator
System.IServiceProvider
Inherited Members
CommonServiceLocator.ServiceLocatorImplBase.GetService(System.Type)
CommonServiceLocator.ServiceLocatorImplBase.GetInstance(System.Type)
CommonServiceLocator.ServiceLocatorImplBase.GetInstance(System.Type, System.String)
CommonServiceLocator.ServiceLocatorImplBase.GetAllInstances(System.Type)
CommonServiceLocator.ServiceLocatorImplBase.GetInstance<TService>()
CommonServiceLocator.ServiceLocatorImplBase.GetInstance<TService>(System.String)
CommonServiceLocator.ServiceLocatorImplBase.GetAllInstances<TService>()
CommonServiceLocator.ServiceLocatorImplBase.FormatActivationExceptionMessage(System.Exception, System.Type, System.String)
CommonServiceLocator.ServiceLocatorImplBase.FormatActivateAllExceptionMessage(System.Exception, System.Type)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neutronium.SPA.ServiceLocator
Assembly: Neutronium SPA.dll
Syntax
public class NinjectServiceLocator : ServiceLocatorImplBase, IServiceLocator, IServiceProvider

Constructors

| Improve this Doc View Source

NinjectServiceLocator(IKernel)

Declaration
public NinjectServiceLocator(IKernel kernel)
Parameters
Type Name Description
Ninject.IKernel kernel

Properties

| Improve this Doc View Source

Kernel

Declaration
public IKernel Kernel { get; }
Property Value
Type Description
Ninject.IKernel

Methods

| Improve this Doc View Source

DoGetAllInstances(Type)

Declaration
protected override IEnumerable<object> DoGetAllInstances(Type serviceType)
Parameters
Type Name Description
System.Type serviceType
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Object>
Overrides
CommonServiceLocator.ServiceLocatorImplBase.DoGetAllInstances(System.Type)
| Improve this Doc View Source

DoGetInstance(Type, String)

Declaration
protected override object DoGetInstance(Type serviceType, string key)
Parameters
Type Name Description
System.Type serviceType
System.String key
Returns
Type Description
System.Object
Overrides
CommonServiceLocator.ServiceLocatorImplBase.DoGetInstance(System.Type, System.String)

Implements

CommonServiceLocator.IServiceLocator
System.IServiceProvider
  • Improve this Doc
  • View Source
Back to top Generated by DocFX