C# Class Stumps.Web.Bootstrapper

A class that provides a new Nancy boot strapper.
Inheritance: DefaultNancyBootstrapper, IDisposable
Mostrar archivo Open project: Cayan-LLC/stumps Class Usage Examples

Public Methods

Method Description
Bootstrapper ( IStumpsHost stumpsHost ) : System

Initializes a new instance of the T:Stumps.Web.Bootstrapper class.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

Protected Methods

Method Description
ConfigureApplicationContainer ( Nancy container ) : void

Configures the container using AutoRegister followed by registration of default INancyModuleCatalog and IRouteResolver.

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

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

Requests the startup.

Method Details

Bootstrapper() public method

Initializes a new instance of the T:Stumps.Web.Bootstrapper class.
is null.
public Bootstrapper ( IStumpsHost stumpsHost ) : System
stumpsHost IStumpsHost The used by the instance.
return System

ConfigureApplicationContainer() protected method

Configures the container using AutoRegister followed by registration of default INancyModuleCatalog and IRouteResolver.
is null.
protected ConfigureApplicationContainer ( Nancy container ) : void
container Nancy Instance of the IoC container used for the instance.
return void

Dispose() public method

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
return void

Dispose() protected method

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

RequestStartup() protected method

Requests the startup.
/// is null. /// or /// is null. /// or /// is null. ///
protected RequestStartup ( Nancy container, Nancy pipelines, Nancy.NancyContext context ) : void
container Nancy The container.
pipelines Nancy The pipelines.
context Nancy.NancyContext The context.
return void