3 ms·
> To be able to do that, you have to add Options<T> to the constructor of every class in the chain and then configure DI for it. You really don't - just inject
by GordonS 6y ago
> To be able to do that, you have to add Options<T> to the constructor of every class in the chain and then configure DI for it.
You really don't - just inject your populated config object where you need it.