IUnityContainer discoverability

Feb 16, 2008 at 5:00 PM
Should IUnityContainer provide:

string Name { get; }
IUnityContainer ParentContainer { get; }
IEnumerable<IUnityContainer> Containers { get; }

Once you have built a complex tree (chain) of containers to provide/restrict access to some services, it becomes interesting to be able to extract the exact container you want to be able to inject into someone else.