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, IServiceProviderConstructors
| Improve this Doc View SourceNinjectServiceLocator(IKernel)
Declaration
public NinjectServiceLocator(IKernel kernel)Parameters
| Type | Name | Description | 
|---|---|---|
| Ninject.IKernel | kernel | 
Properties
| Improve this Doc View SourceKernel
Declaration
public IKernel Kernel { get; }Property Value
| Type | Description | 
|---|---|
| Ninject.IKernel | 
Methods
| Improve this Doc View SourceDoGetAllInstances(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