public static IRegistrationBuilder <TLimit, TActivatorData, TRegistrationStyle> InstancePerServiceScope
 <TLimit, TActivatorData, TRegistrationStyle>(
     this IRegistrationBuilder <TLimit, TActivatorData, TRegistrationStyle> builder,
     IServiceBootstrapper bootstrapper)
 {
     return(builder.InstancePerMatchingLifetimeScope(bootstrapper.LifetimeScopeTag));
 }
Пример #2
0
 public Bootstrapper(IModuleBootstrapper moduleBootstrapper, IServiceBootstrapper serviceBootstrapper, IAssemblyBootstrapper assemblyBootstrapper)
 {
     this.moduleBootstrapper   = moduleBootstrapper;
     this.serviceBootstrapper  = serviceBootstrapper;
     this.assemblyBootstrapper = assemblyBootstrapper;
 }