Class QuartzJobExecutionAdapter<TArgs>
Inheritance
object
QuartzJobExecutionAdapter<TArgs>
Implements
Quartz.IJob
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BackgroundJobs.Quartz
Assembly: Volo.Abp.BackgroundJobs.Quartz.dll
Syntax
public class QuartzJobExecutionAdapter<TArgs> : IJob
Type Parameters
| Name | Description |
|---|---|
| TArgs |
Constructors
QuartzJobExecutionAdapter(IOptions<AbpBackgroundJobOptions>, IOptions<AbpBackgroundJobQuartzOptions>, IBackgroundJobExecuter, IServiceScopeFactory, IJsonSerializer)
Declaration
public QuartzJobExecutionAdapter(IOptions<AbpBackgroundJobOptions> options, IOptions<AbpBackgroundJobQuartzOptions> backgroundJobQuartzOptions, IBackgroundJobExecuter jobExecuter, IServiceScopeFactory serviceScopeFactory, IJsonSerializer jsonSerializer)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.Options.IOptions<TOptions><AbpBackgroundJobOptions> | options | |
| Microsoft.Extensions.Options.IOptions<TOptions><AbpBackgroundJobQuartzOptions> | backgroundJobQuartzOptions | |
| IBackgroundJobExecuter | jobExecuter | |
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory | serviceScopeFactory | |
| IJsonSerializer | jsonSerializer |
Properties
BackgroundJobQuartzOptions
Declaration
protected AbpBackgroundJobQuartzOptions BackgroundJobQuartzOptions { get; }
Property Value
| Type | Description |
|---|---|
| AbpBackgroundJobQuartzOptions |
JobExecuter
Declaration
protected IBackgroundJobExecuter JobExecuter { get; }
Property Value
| Type | Description |
|---|---|
| IBackgroundJobExecuter |
JsonSerializer
Declaration
protected IJsonSerializer JsonSerializer { get; }
Property Value
| Type | Description |
|---|---|
| IJsonSerializer |
Logger
Declaration
public ILogger<QuartzJobExecutionAdapter<TArgs>> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger<TCategoryName><QuartzJobExecutionAdapter<TArgs>> |
Options
Declaration
protected AbpBackgroundJobOptions Options { get; }
Property Value
| Type | Description |
|---|---|
| AbpBackgroundJobOptions |
ServiceScopeFactory
Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory |
Methods
Execute(IJobExecutionContext)
Declaration
public Task Execute(IJobExecutionContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| Quartz.IJobExecutionContext | context |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Quartz.IJob