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

Commit

Permalink
Document CreateRequestContainer in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-xu committed Jan 26, 2014
1 parent 1374f21 commit ac56b67
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ protected override IKernel GetApplicationContainer()
}
```

You can also override the `CreateRequestContainer` method so that you could customize your child container. By default, the request container's binding scope is singleton as this would be the most common case.

```c#
protected override IKernel CreateRequestContainer()
{
// Return request contaner instance
}
```

## Contributors

* [Andreas Håkansson](http://github.com/thecodejunkie)
Expand Down

0 comments on commit ac56b67

Please sign in to comment.