Nancy.Hosting.Aspnet
TinyIoC ASP.Net Bootstrapper
No child container support because per-request is handled by the AsPerRequestSingleton option
Gets the diagnostics for initialisation
IDiagnostics implementation
Gets all registered startup tasks
An instance containing instances.
Resolves all request startup tasks
Container to use
Types to register - not used
An instance containing instances.
Gets all registered application registration tasks
An instance containing instances.
Get all NancyModule implementation instances - should be multi-instance
Current request context
IEnumerable of INancyModule
Retrieves a specific implementation - should be per-request lifetime
Module type
The current context
The instance
Creates and initializes the request pipelines.
The used by the request.
An instance.
Configures the container using AutoRegister followed by registration
of default INancyModuleCatalog and IRouteResolver.
Container instance
Resolve INancyEngine
INancyEngine implementation
Create a default, unconfigured, container
Container instance
Register the bootstrapper's implemented types into the container.
This is necessary so a user can pass in a populated container but not have
to take the responsibility of registering things like INancyModuleCatalog manually.
Application container to register into
Register the default implementations of internally used types into the container as singletons
Container to register into
Type registrations to register
Register the various collections into the container as singletons to later be resolved
by IEnumerable{Type} constructor dependencies.
Container to register into
Collection type registrations to register
Register the given module types into the container
Container to register into
NancyModule types
Register the given instances into the container
Container to register into
Instance registration types
Gets all request startup tasks
Bridges the communication between Nancy and ASP.NET based hosting.
Initializes a new instance of the type for the specified .
An instance, that should be used by the handler.
Processes the ASP.NET request with Nancy.
The of the request.
A wrapper around an AspNet OutputStream that defers .Flush() to the parent HttpResponseBase
Calls Flush() on the wrapped HttpResponseBase
Registers the dependency as per request lifetime
Register options
Register options
Registers each item in the collection as per request lifetime
Register options
Register options