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