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

Commit

Permalink
Make CreateRequestContainer override-able so that user can set more a…
Browse files Browse the repository at this point in the history
…dvanced settings
  • Loading branch information
scott-xu committed Dec 21, 2013
1 parent fc0c6ae commit da89cf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected override void RegisterInstances(IKernel container, IEnumerable<Instanc
/// Creates a per request child/nested container
/// </summary>
/// <returns>Request container instance</returns>
protected override sealed IKernel CreateRequestContainer()
protected override IKernel CreateRequestContainer()
{
return new ChildKernel(this.ApplicationContainer, new NinjectSettings { DefaultScopeCallback = StandardScopeCallbacks.Singleton });
}
Expand Down

0 comments on commit da89cf1

Please sign in to comment.