C# Class SensorHost.Bootstrapper

The bootstrapper for Nancy.
Inheritance: UnityNancyBootstrapper
Show file Open project: rossdargan/PRTG-Sensors

Protected Methods

Method Description
ApplicationStartup ( IUnityContainer container, IPipelines pipelines ) : void

No registrations should be performed in here, however you may resolve things that are needed during application startup.

ConfigureApplicationContainer ( IUnityContainer existingContainer ) : void

Perform registrations that should have an application lifetime

ConfigureRequestContainer ( IUnityContainer container, Nancy.NancyContext context ) : void

Perform registrations that should have a request lifetime

RequestStartup ( IUnityContainer container, IPipelines pipelines, Nancy.NancyContext context ) : void

No registrations should be performed in here, however you may resolve things that are needed during request startup.

Method Details

ApplicationStartup() protected method

No registrations should be performed in here, however you may resolve things that are needed during application startup.
protected ApplicationStartup ( IUnityContainer container, IPipelines pipelines ) : void
container IUnityContainer /// The container. ///
pipelines IPipelines /// The pipelines. ///
return void

ConfigureApplicationContainer() protected method

Perform registrations that should have an application lifetime
protected ConfigureApplicationContainer ( IUnityContainer existingContainer ) : void
existingContainer IUnityContainer /// The existing container. ///
return void

ConfigureRequestContainer() protected method

Perform registrations that should have a request lifetime
protected ConfigureRequestContainer ( IUnityContainer container, Nancy.NancyContext context ) : void
container IUnityContainer /// The container. ///
context Nancy.NancyContext /// The context. ///
return void

RequestStartup() protected method

No registrations should be performed in here, however you may resolve things that are needed during request startup.
protected RequestStartup ( IUnityContainer container, IPipelines pipelines, Nancy.NancyContext context ) : void
container IUnityContainer /// The container. ///
pipelines IPipelines /// The pipelines. ///
context Nancy.NancyContext /// The context. ///
return void