C# Class Hangfire.Windsor.WindsorJobActivator

Hangfire Job Activator based on Castle Windsor IoC Container.
Inheritance: JobActivator
Exibir arquivo Open project: BredStik/HangFire.Windsor Class Usage Examples

Public Methods

Method Description
ActivateJob ( Type jobType ) : object

Activates a job of a given type using the Windsor Kernel

WindsorJobActivator ( IKernel kernel ) : Castle.MicroKernel

Initializes new instance of WindsorJobActivator with a Windsor Kernel

Method Details

ActivateJob() public method

Activates a job of a given type using the Windsor Kernel
public ActivateJob ( Type jobType ) : object
jobType System.Type Type of job to activate
return object

WindsorJobActivator() public method

Initializes new instance of WindsorJobActivator with a Windsor Kernel
public WindsorJobActivator ( IKernel kernel ) : Castle.MicroKernel
kernel IKernel Kernel that will be used to create instance /// of classes during job activation process.
return Castle.MicroKernel