C# Class DotNetWorkQueue.JobSchedulerContainer

Allows creation of new IJobScheduler instances
Inheritance: IDisposable
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

CreateJobScheduler() public méthode

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.
Résultat IJobScheduler

Dispose() public méthode

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

Dispose() protected méthode

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.
Résultat void

JobSchedulerContainer() public méthode

Initializes a new instance of the JobSchedulerContainer class.
public JobSchedulerContainer ( ) : System
Résultat System

JobSchedulerContainer() public méthode

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

SetContainerFactory() public static méthode

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