mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
531 B
21 lines
531 B
using System;
|
|
using Volo.Abp.DependencyInjection;
|
|
|
|
namespace Volo.Abp.BackgroundJobs
|
|
{
|
|
public class JobExecutionContext : IServiceProviderAccessor
|
|
{
|
|
public IServiceProvider ServiceProvider { get; }
|
|
|
|
public Type JobType { get; }
|
|
|
|
public object JobArgs { get; }
|
|
|
|
public JobExecutionContext(IServiceProvider serviceProvider, Type jobType, object jobArgs)
|
|
{
|
|
ServiceProvider = serviceProvider;
|
|
JobType = jobType;
|
|
JobArgs = jobArgs;
|
|
}
|
|
}
|
|
} |