C# Class Ninject.GlobalKernelRegistry

All kernels register on the static list of this class. This allows derived types to do things for the kernels. e.g. used by One per request module to release the objects in request scope right after the request ended.
Inheritance: Ninject.Infrastructure.Disposal.DisposableObject
Mostra file Open project: Qiredev/ninject Class Usage Examples

Public Methods

Method Description
StartManaging ( IKernel kernel ) : void

Start managing instances for the specified kernel.

StopManaging ( IKernel kernel ) : void

Stops managing instances for the specified kernel.

Method Details

StartManaging() public static method

Start managing instances for the specified kernel.
public static StartManaging ( IKernel kernel ) : void
kernel IKernel The kernel.
return void

StopManaging() public static method

Stops managing instances for the specified kernel.
public static StopManaging ( IKernel kernel ) : void
kernel IKernel The kernel.
return void