public static IRegistrationBuilder <TLimit, TActivatorData, TRegistrationStyle> InstancePerServiceScope
 <TLimit, TActivatorData, TRegistrationStyle>(
     this IRegistrationBuilder <TLimit, TActivatorData, TRegistrationStyle> builder,
     IServiceBootstrapper bootstrapper)
 {
     return(builder.InstancePerMatchingLifetimeScope(bootstrapper.LifetimeScopeTag));
 }
Exemplo n.º 2
0
 public Bootstrapper(IModuleBootstrapper moduleBootstrapper, IServiceBootstrapper serviceBootstrapper, IAssemblyBootstrapper assemblyBootstrapper)
 {
     this.moduleBootstrapper   = moduleBootstrapper;
     this.serviceBootstrapper  = serviceBootstrapper;
     this.assemblyBootstrapper = assemblyBootstrapper;
 }