C# Класс Stumps.Web.Bootstrapper

A class that provides a new Nancy boot strapper.
Наследование: DefaultNancyBootstrapper, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Bootstrapper ( IStumpsHost stumpsHost ) : System

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

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

Защищенные методы

Метод Описание
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.

Описание методов

Bootstrapper() публичный Метод

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.
Результат System

ConfigureApplicationContainer() защищенный Метод

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.
Результат void

Dispose() публичный Метод

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

RequestStartup() защищенный Метод

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.
Результат void