Пример #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()));
 }