C# 클래스 Ninject.Web.WebApi.NinjectDependencyScope

Dependency scope implementation for ninject.
상속: IDependencyScope
파일 보기 프로젝트 열기: ninject/Ninject.Web.WebApi

공개 메소드들

메소드 설명
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