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

The web plugin implementation for MVC
상속: Ninject.Components.NinjectComponent, INinjectHttpApplicationPlugin
파일 보기 프로젝트 열기: ninject/Ninject.Web.WebApi

공개 메소드들

메소드 설명
GetRequestScope ( IContext context ) : object

Gets the request scope.

NinjectWebApiHttpApplicationPlugin ( IKernel kernel, IWebApiRequestScopeProvider webApiRequestScopeProvider ) : System.Linq

Initializes a new instance of the NinjectWebApiHttpApplicationPlugin class.

Start ( ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

보호된 메소드들

메소드 설명
CreateDependencyResolver ( ) : IDependencyResolver

Creates the controller factory that is used to create the controllers.

메소드 상세

CreateDependencyResolver() 보호된 메소드

Creates the controller factory that is used to create the controllers.
protected CreateDependencyResolver ( ) : IDependencyResolver
리턴 IDependencyResolver

GetRequestScope() 공개 메소드

Gets the request scope.
public GetRequestScope ( IContext context ) : object
context IContext The context.
리턴 object

NinjectWebApiHttpApplicationPlugin() 공개 메소드

Initializes a new instance of the NinjectWebApiHttpApplicationPlugin class.
public NinjectWebApiHttpApplicationPlugin ( IKernel kernel, IWebApiRequestScopeProvider webApiRequestScopeProvider ) : System.Linq
kernel IKernel The kernel.
webApiRequestScopeProvider IWebApiRequestScopeProvider The web API request scope provider.
리턴 System.Linq

Start() 공개 메소드

Starts this instance.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops this instance.
public Stop ( ) : void
리턴 void