With Spring.Net, it's possible to query all objects of a certain (ancestor) type.
var ctx = ContextRegistry.GetContext();
var setUsers = ctx.GetObjectsOfType(typeof(ISetUser)).Values.OfType<ISetUser>().ToList();
How can this be done with DryIoc?
The direct answer given sample classes and interfaces would be:
If you will want to retrieve some interface, it probably good to register it from the start (plan for it):