Example #1
0
 public BootstrapperTestDouble(
     Mock <ContainerAdapter> adapter,
     IBuildManager buildManager,
     IBootstrapperTasksRegistry bootstrapperTasksRegistry,
     IPerRequestTasksRegistry perRequestTasksRegistry) : base(buildManager, bootstrapperTasksRegistry, perRequestTasksRegistry)
 {
     this.adapter = adapter;
 }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Bootstrapper"/> class.
        /// </summary>
        /// <param name="buildManager">The build manager.</param>
        /// <param name="bootstrapperTasks">The bootstrapper tasks.</param>
        /// <param name="perRequestTasks">The per request tasks.</param>
        protected Bootstrapper(IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasks, IPerRequestTasksRegistry perRequestTasks)
        {
            Invariant.IsNotNull(buildManager, "buildManager");
            Invariant.IsNotNull(bootstrapperTasks, "bootstrapperTasks");
            Invariant.IsNotNull(bootstrapperTasks, "perRequestTasks");

            BuildManager = buildManager;

            BuildManager      = buildManager;
            BootstrapperTasks = bootstrapperTasks;
            PerRequestTasks   = perRequestTasks;
        }
 public StructureMapBootstrapperTestDouble(IContainer container, IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasksRegistry, IPerRequestTasksRegistry perRequestTasksRegistry) : base(buildManager, bootstrapperTasksRegistry, perRequestTasksRegistry)
 {
     this.container = container;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NinjectBootstrapper"/> class.
 /// </summary>
 /// <param name="buildManager">The build manager.</param>
 /// <param name="bootstrapperTasks">The bootstrapper tasks.</param>
 /// <param name="perRequestTasks">The per request tasks.</param>
 public NinjectBootstrapper(IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasks, IPerRequestTasksRegistry perRequestTasks)
     : base(buildManager, bootstrapperTasks, perRequestTasks)
 {
 }
Example #5
0
 public NinjectBootstrapperTestDouble(IKernel kernel, IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasksRegistry, IPerRequestTasksRegistry perRequestTasksRegistry) : base(buildManager, bootstrapperTasksRegistry, perRequestTasksRegistry)
 {
     this.kernel = kernel;
 }
 public StructureMapBootstrapperTestDouble(IContainer container, IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasksRegistry, IPerRequestTasksRegistry perRequestTasksRegistry)
     : base(buildManager, bootstrapperTasksRegistry, perRequestTasksRegistry)
 {
     this.container = container;
 }
 public NinjectBootstrapperTestDouble(IKernel kernel, IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasksRegistry, IPerRequestTasksRegistry perRequestTasksRegistry)
     : base(buildManager, bootstrapperTasksRegistry, perRequestTasksRegistry)
 {
     this.kernel = kernel;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WindsorBootstrapper"/> class.
 /// </summary>
 /// <param name="buildManager">The build manager.</param>
 /// <param name="bootstrapperTasks">The bootstrapper tasks.</param>
 /// <param name="perRequestTasks">The per request tasks.</param>
 public WindsorBootstrapper(IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasks, IPerRequestTasksRegistry perRequestTasks)
     : base(buildManager, bootstrapperTasks, perRequestTasks)
 {
 }
 public InterceptableUnityBootstrapper(IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasks, IPerRequestTasksRegistry perRequestTasks)
     : base(buildManager, bootstrapperTasks, perRequestTasks)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StructureMapBootstrapper"/> class.
 /// </summary>
 /// <param name="buildManager">The build manager.</param>
 /// <param name="bootstrapperTasks">The bootstrapper tasks.</param>
 /// <param name="perRequestTasks">The per request tasks.</param>
 public StructureMapBootstrapper(IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasks, IPerRequestTasksRegistry perRequestTasks)
     : base(buildManager, bootstrapperTasks, perRequestTasks)
 {
 }
 public InterceptableUnityBootstrapper(IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasks, IPerRequestTasksRegistry perRequestTasks)
     : base(buildManager, bootstrapperTasks, perRequestTasks)
 {
 }
Example #12
0
 public BootstrapperTestDouble(
     Mock<ContainerAdapter> adapter,
     IBuildManager buildManager,
     IBootstrapperTasksRegistry bootstrapperTasksRegistry,
     IPerRequestTasksRegistry perRequestTasksRegistry)
     : base(buildManager, bootstrapperTasksRegistry, perRequestTasksRegistry)
 {
     this.adapter = adapter;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StructureMapBootstrapper"/> class.
 /// </summary>
 /// <param name="buildManager">The build manager.</param>
 /// <param name="bootstrapperTasks">The bootstrapper tasks.</param>
 /// <param name="perRequestTasks">The per request tasks.</param>
 public StructureMapBootstrapper(IBuildManager buildManager, IBootstrapperTasksRegistry bootstrapperTasks, IPerRequestTasksRegistry perRequestTasks) : base(buildManager, bootstrapperTasks, perRequestTasks)
 {
 }