Ramon Smits

Tell me your secrets and i'll tell you mine

Browse by Tags

All Tags » dependancy injection » IDisposable (RSS)
Injected objects should not be disposed be the class that receives the instance
I just read Windsor: Component Burden described as a (bad) side effect but this is not how it should work. Disposable objects should be cleanup by its creator. This is the easiest way to define the disposing responsibility! In the mentioned article they...