Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #8 from khellang/request-container-context
Browse files Browse the repository at this point in the history
Fixed CreateRequestContainer override
  • Loading branch information
horsdal committed Jan 21, 2015
2 parents 4d39aa0 + d5f15fe commit 548c0bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencies/Nancy
Submodule Nancy updated 261 files
3 changes: 2 additions & 1 deletion src/Nancy.Bootstrappers.Unity/UnityNancyBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@ protected override void RegisterInstances(IUnityContainer container, IEnumerable
/// <summary>
/// Creates a per request child/nested container
/// </summary>
/// <param name="context">Current context</param>
/// <returns>Request container instance</returns>
protected override IUnityContainer CreateRequestContainer()
protected override IUnityContainer CreateRequestContainer(NancyContext context)
{
return this.ApplicationContainer.CreateChildContainer();
}
Expand Down

0 comments on commit 548c0bc

Please sign in to comment.