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

Web API self host for ninject web common
Inheritance: INinjectSelfHost, IDisposable
ファイルを表示 Open project: ninject/Ninject.Web.WebApi

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

NinjectWebApiSelfHost ( System.Web.Http.SelfHost.HttpSelfHostConfiguration httpSelfHostConfiguration ) : System

Initializes a new instance of the NinjectWebApiSelfHost class.

Start ( ) : void

Starts this instance.

Protected Methods

Method Description
Dispose ( bool disposable ) : void

Releases unmanaged and - optionally - managed resources

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposable ) : void
disposable bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

NinjectWebApiSelfHost() public method

Initializes a new instance of the NinjectWebApiSelfHost class.
public NinjectWebApiSelfHost ( System.Web.Http.SelfHost.HttpSelfHostConfiguration httpSelfHostConfiguration ) : System
httpSelfHostConfiguration System.Web.Http.SelfHost.HttpSelfHostConfiguration The HTTP self host configuration.
return System

Start() public method

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