I have interface IOrder<T> and FurnitureOrder<T> implements it
I need to register multiple implementations like this
services.AddSingleton(IOrder<Chair>, FurnitureOrder<Chair>())
services.AddSingleton(IOrder<Table>, FurnitureOrder<Table>())
Now I have need to retrieve all IOrder services and the types(e.g chair, table) to do some background work on it.
Can I get it using GetServices API?
if not possible, Please suggest if design changes needed