Esempio n. 1
0
        public virtual JobActivatorScope BeginScope(JobActivatorContext context)
        {
#pragma warning disable 618
            return(BeginScope());

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