Skip to content

Commit

Permalink
IApplicationLifetime -> IHostApplicationLifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Oct 25, 2019
1 parent d3f2efc commit 6ddb766
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MicroBatchFramework/BatchEngineService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ public sealed class BatchEngineService : IHostedService
string[] args;
Type type;
MethodInfo methodInfo;
IApplicationLifetime appLifetime;
IHostApplicationLifetime appLifetime;
ILogger<BatchEngine> logger;
IServiceScope scope;
IBatchInterceptor interceptor;
Task runningTask;
CancellationTokenSource cancellationTokenSource;

public BatchEngineService(IApplicationLifetime appLifetime, Type type, string[] args, ILogger<BatchEngine> logger, IServiceProvider provider)
public BatchEngineService(IHostApplicationLifetime appLifetime, Type type, string[] args, ILogger<BatchEngine> logger, IServiceProvider provider)
: this(appLifetime, type, null, args, logger, provider)
{
}

public BatchEngineService(IApplicationLifetime appLifetime, Type type, MethodInfo methodInfo, string[] args, ILogger<BatchEngine> logger, IServiceProvider provider)
public BatchEngineService(IHostApplicationLifetime appLifetime, Type type, MethodInfo methodInfo, string[] args, ILogger<BatchEngine> logger, IServiceProvider provider)
{
this.args = args;
this.type = type;
Expand Down

0 comments on commit 6ddb766

Please sign in to comment.