parent
0f0eaafbb9
commit
a57721cf90
4 changed files with 132 additions and 127 deletions
@ -1,13 +1,17 @@ |
||||
using System.Threading; |
||||
|
||||
namespace DotXxlJob.Core.Model |
||||
{ |
||||
public class JobExecuteContext |
||||
{ |
||||
public JobExecuteContext(IJobLogger jobLogger,string jobParameter) |
||||
public JobExecuteContext(IJobLogger jobLogger, string jobParameter, CancellationToken cancellationToken) |
||||
{ |
||||
this.JobLogger = jobLogger; |
||||
this.JobParameter = jobParameter; |
||||
this.cancellationToken = cancellationToken; |
||||
} |
||||
public string JobParameter { get; } |
||||
public IJobLogger JobLogger { get; } |
||||
public CancellationToken cancellationToken { get; } |
||||
} |
||||
} |
||||
Loading…
Reference in new issue