structuremap/structuremap — Issue #33: More Features on IContext
Author: djkozora
Created: 2012-02-11 21:14:34+00:00
State: open

Adding an IContext.GetInstance(Type type) and IContext.With(...) would be useful feature for SM3. Using EnrichWith would be less noisy for open generic decorators. Here is an example of how I'm currently handling a decorator for open generics.

Code like this is a bit noisy: https://gist.github.com/1801594