https://alexmg.dev/posts/selectively-resolving-services-at-runtime-with-autofac/