예제 #1
0
        public virtual JobActivatorScope BeginScope(JobActivatorContext context)
        {
#pragma warning disable 618
            return(BeginScope());

#pragma warning restore 618
        }
예제 #2
0
 public override JobActivatorScope BeginScope(JobActivatorContext context)
 {
     return(new UnityScope(container.CreateChildContainer()));
 }
 public override JobActivatorScope BeginScope(JobActivatorContext context)
 {
     return(new NinjectScope(_kernel));
 }
예제 #4
0
 public override JobActivatorScope BeginScope(JobActivatorContext context = null)
 {
     return(new AutofacScope(_useTaggedLifetimeScope
         ? _lifetimeScope.BeginLifetimeScope(LifetimeScopeTag)
         : _lifetimeScope.BeginLifetimeScope()));
 }