DotNetWorkQueue.JobSchedulerContainer.CreateJobScheduler C# (CSharp) 메소드

CreateJobScheduler() 공개 메소드

Creates a re-occurring job scheduler.
public CreateJobScheduler ( Action queueCreation = null, Action queueContainer = null ) : IJobScheduler
queueCreation Action Service registrations for the queue creation modules that will create any needed job queues.
queueContainer Action Service registrations for the queue containers that will contain the producing queues for the jobs.
리턴 IJobScheduler
        public IJobScheduler CreateJobScheduler(Action<IContainer> queueCreation = null, Action<IContainer> queueContainer = null)
        {
            var container = _createContainerInternal().Create(QueueContexts.JobScheduler, _registerService, _transportInit, x => { }, null, new JobQueueContainerRegistrations(queueCreation, queueContainer));
            _containers.Add(container);
            return container.GetInstance<IJobScheduler>();
        }
    }