Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Ninject.Extensions.NamedScope

Build status codecov NuGet Version NuGet Downloads

This Ninject Extension enables more powerful higher-level scoping mechanisms to be defined than those offered in the Kernel itself such as:

  • InParentScope to define a lifetime relative to that of the Request that triggered a resolution of a Binding
  • InCallScope to tie the lifetime to that of the Root Request [and constrain to a single instance within the hierarchy of the Request] being Resolved
  • DefinesNamedScope / InNamedScope to enable custom pooling rules
  • CreateNamedScope allows a Named Scope equivalent to one induced by DefinesNamedScope() to be generated programmatically (and Disposed as desired)

More information is found in the wiki: https://github.com/ninject/ninject.extensions.namedscope/wiki

About

This extension allows that bindings can define scopes. All dependencies can now define that they want to use this instance as their scope.

Resources

License

Packages

No packages published

Languages