public static IContainer InitializeTests(ContainerConfiguration config, Action <ContainerBuilder> extendedSetupAction = null) => BaseAutofacSetup(config, extendedSetupAction);
public static IServiceProvider InitializeReadApi(this IServiceCollection services, ContainerConfiguration config, Action <ContainerBuilder> extendedSetupAction = null) => new AutofacServiceProvider(BaseAutofacSetup(config, setupAction => { setupAction.Populate(services); extendedSetupAction?.Invoke(setupAction); }));