public CreateJobScheduler ( Action |
||
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. |
return | 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>();
}
}