C# Class CommonServiceLocator.NinjectAdapter.NinjectServiceLocator

Inheritance: ServiceLocatorImplBase
Show file Open project: ninject/Ninject Class Usage Examples

Public Methods

Method Description
NinjectServiceLocator ( IReadOnlyKernel kernel ) : System

Protected Methods

Method Description
DoGetAllInstances ( Type serviceType ) : IEnumerable
DoGetInstance ( Type serviceType, string key ) : object

Method Details

DoGetAllInstances() protected method

protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable

DoGetInstance() protected method

protected DoGetInstance ( Type serviceType, string key ) : object
serviceType System.Type
key string
return object

NinjectServiceLocator() public method

public NinjectServiceLocator ( IReadOnlyKernel kernel ) : System
kernel IReadOnlyKernel
return System