Skip to content

Commit 6ddb766

Browse files
committed
IApplicationLifetime -> IHostApplicationLifetime
1 parent d3f2efc commit 6ddb766

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MicroBatchFramework/BatchEngineService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ public sealed class BatchEngineService : IHostedService
1313
string[] args;
1414
Type type;
1515
MethodInfo methodInfo;
16-
IApplicationLifetime appLifetime;
16+
IHostApplicationLifetime appLifetime;
1717
ILogger<BatchEngine> logger;
1818
IServiceScope scope;
1919
IBatchInterceptor interceptor;
2020
Task runningTask;
2121
CancellationTokenSource cancellationTokenSource;
2222

23-
public BatchEngineService(IApplicationLifetime appLifetime, Type type, string[] args, ILogger<BatchEngine> logger, IServiceProvider provider)
23+
public BatchEngineService(IHostApplicationLifetime appLifetime, Type type, string[] args, ILogger<BatchEngine> logger, IServiceProvider provider)
2424
: this(appLifetime, type, null, args, logger, provider)
2525
{
2626
}
2727

28-
public BatchEngineService(IApplicationLifetime appLifetime, Type type, MethodInfo methodInfo, string[] args, ILogger<BatchEngine> logger, IServiceProvider provider)
28+
public BatchEngineService(IHostApplicationLifetime appLifetime, Type type, MethodInfo methodInfo, string[] args, ILogger<BatchEngine> logger, IServiceProvider provider)
2929
{
3030
this.args = args;
3131
this.type = type;

0 commit comments

Comments
 (0)