Dan Diephouse wrote:
I was wondering: does anyone see a clean way to auto-detect that a Provider also implements Resolver and use it automatically instead of having the user specify both?
How about if ServiceProvider implemented ItemManager<Provider> in addition to Provider (i.e. acted as its own Manager)? The ServiceContext could then use reflection to detect that one object implements both Resolver<Target> and ItemManager<Provider> and use it for both purposes.
Jim
