C# Class DotNetWorkQueue.JobSchedulerContainer

Allows creation of new IJobScheduler instances
Inheritance: IDisposable
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
CreateJobScheduler ( Action queueCreation = null, Action queueContainer = null ) : IJobScheduler

Creates a re-occurring job scheduler.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

JobSchedulerContainer ( ) : System

Initializes a new instance of the JobSchedulerContainer class.

JobSchedulerContainer ( Action registerService ) : System

Initializes a new instance of the JobSchedulerContainer class.

SetContainerFactory ( Func createContainer ) : void

Set the container creation function. This allows you to use your own IoC container.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

CreateJobScheduler() public method

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.
return IJobScheduler

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

JobSchedulerContainer() public method

Initializes a new instance of the JobSchedulerContainer class.
public JobSchedulerContainer ( ) : System
return System

JobSchedulerContainer() public method

Initializes a new instance of the JobSchedulerContainer class.
public JobSchedulerContainer ( Action registerService ) : System
registerService Action The register service.
return System

SetContainerFactory() public static method

Set the container creation function. This allows you to use your own IoC container.
public static SetContainerFactory ( Func createContainer ) : void
createContainer Func
return void