C# Class SensorHost.Bootstrapper

The bootstrapper for Nancy.
Inheritance: UnityNancyBootstrapper
Afficher le fichier Open project: rossdargan/PRTG-Sensors

Méthodes protégées

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

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

ConfigureApplicationContainer() protected méthode

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

ConfigureRequestContainer() protected méthode

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

RequestStartup() protected méthode

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