Skip to content
bartelink edited this page Mar 22, 2013 · 8 revisions

Introduction

The Ninject Context Preservation Extension adds support for recording (and making available to Contextual Binding rules) the context pertaining to factories that call the Kernel to Resolve Requests. e.g. imagine that you have a factory FooFactory that creates an IFoo by resolving IFoo from the Kernel. This factory gets injected into A and B. Normally you have no knowledge if the Resolve is coming via A or B. The Ninject Context Preservation Extension solves this problem by preserving the context. This means that the ParentRequest of the resolution Request will now refer to the Request that was used to create the factory initially.

#Binaries

Documentation

Clone this wiki locally