C# Class Ninject.Web.WebApi.Selfhost.SelfHostNinjectDependencyScope

Dependency scope for self hosting.
Inheritance: Ninject.Web.WebApi.NinjectDependencyScope
ファイルを表示 Open project: ninject/Ninject.Web.WebApi

Public Methods

Method Description
Dispose ( bool disposing ) : void

Releases resources held by the object.

SelfHostNinjectDependencyScope ( IResolutionRoot resolutionRoot ) : System

Initializes a new instance of the SelfHostNinjectDependencyScope class.

Method Details

Dispose() public method

Releases resources held by the object.
public Dispose ( bool disposing ) : void
disposing bool true if the object is beeing disposed, false if it it finalized.
return void

SelfHostNinjectDependencyScope() public method

Initializes a new instance of the SelfHostNinjectDependencyScope class.
public SelfHostNinjectDependencyScope ( IResolutionRoot resolutionRoot ) : System
resolutionRoot IResolutionRoot The resolution root.
return System