C# Class Ninject.Web.NinjectWebHttpApplicationPlugin

The web plugin implementation for MVC
Inheritance: Ninject.Components.NinjectComponent, INinjectHttpApplicationPlugin
Mostrar archivo Open project: ninject/Ninject.Web

Public Methods

Method Description
GetRequestScope ( IContext context ) : object

Gets the request scope.

NinjectWebHttpApplicationPlugin ( IKernel kernel ) : System.Web

Initializes a new instance of the NinjectWebHttpApplicationPlugin class.

Start ( ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

Method Details

GetRequestScope() public method

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

NinjectWebHttpApplicationPlugin() public method

Initializes a new instance of the NinjectWebHttpApplicationPlugin class.
public NinjectWebHttpApplicationPlugin ( IKernel kernel ) : System.Web
kernel IKernel The kernel.
return System.Web

Start() public method

Starts this instance.
public Start ( ) : void
return void

Stop() public method

Stops this instance.
public Stop ( ) : void
return void