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

Web API self host for ninject web common
Inheritance: INinjectSelfHost, IDisposable
Afficher le fichier Open project: ninject/Ninject.Web.WebApi

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposable ) : void

Releases unmanaged and - optionally - managed resources

Method Details

Dispose() public méthode

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

Dispose() protected méthode

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.
Résultat void

NinjectWebApiSelfHost() public méthode

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.
Résultat System

Start() public méthode

Starts this instance.
public Start ( ) : void
Résultat void