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