Interface IScheduledJobFactory
Factory class responsible for instantiating scheduled jobs.
Namespace: EPiServer.Scheduler.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IScheduledJobFactory
Methods
Create(ScheduledJob, IServiceProvider)
Create a job instance for the provided ScheduledJob definition.
Declaration
IScheduledJob Create(ScheduledJob job, IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
ScheduledJob | job | The job for which an instance should be created. |
System.IServiceProvider | serviceProvider | The service provider |
Returns
Type | Description |
---|---|
IScheduledJob | A job instance based on the provided definition. |