Apologies that this isn't a bug, not sure where to best ask the question and will try here and S.O.
I need to scan & register services that are constrained generics starting with a contrained-generic parameter of their parent class. I'm now sure how I got this absurdly complicated setup in the first place, but hoping to replicate what seems relatively easy in Autofac with IServiceCollection/Scrutor.
Here is the absurdly complex model:
And the pseudo-attempt to register them. I can't determine how to go from the open parent type to a semi-open parent type constrained to the passed in context type.
Apologies that this isn't a bug, not sure where to best ask the question and will try here and S.O.
I need to scan & register services that are constrained generics starting with a contrained-generic parameter of their parent class. I'm now sure how I got this absurdly complicated setup in the first place, but hoping to replicate what seems relatively easy in Autofac with IServiceCollection/Scrutor.
Here is the absurdly complex model:
And the pseudo-attempt to register them. I can't determine how to go from the open parent type to a semi-open parent type constrained to the passed in context type.
Thanks so much!