C# Класс Ninject.Web.WebApi.NinjectDependencyScope

Dependency scope implementation for ninject.
Наследование: IDependencyScope
Показать файл Открыть проект

Открытые методы

Метод Описание
GetService ( Type serviceType ) : object

Gets the service of the specified type.

GetServices ( Type serviceType ) : IEnumerable

Gets the services of the specifies type.

NinjectDependencyScope ( IResolutionRoot resolutionRoot ) : System

Initializes a new instance of the NinjectDependencyScope class.

Описание методов

GetService() публичный Метод

Gets the service of the specified type.
public GetService ( Type serviceType ) : object
serviceType System.Type The type of the service.
Результат object

GetServices() публичный Метод

Gets the services of the specifies type.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type The type of the service.
Результат IEnumerable

NinjectDependencyScope() публичный Метод

Initializes a new instance of the NinjectDependencyScope class.
public NinjectDependencyScope ( IResolutionRoot resolutionRoot ) : System
resolutionRoot IResolutionRoot The resolution root.
Результат System