From 6ddb766e20c5779d7b74b60012171d489df8eee9 Mon Sep 17 00:00:00 2001 From: neuecc Date: Fri, 25 Oct 2019 17:48:15 +0900 Subject: [PATCH] IApplicationLifetime -> IHostApplicationLifetime --- src/MicroBatchFramework/BatchEngineService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MicroBatchFramework/BatchEngineService.cs b/src/MicroBatchFramework/BatchEngineService.cs index 79003ce..fac0099 100644 --- a/src/MicroBatchFramework/BatchEngineService.cs +++ b/src/MicroBatchFramework/BatchEngineService.cs @@ -13,19 +13,19 @@ public sealed class BatchEngineService : IHostedService string[] args; Type type; MethodInfo methodInfo; - IApplicationLifetime appLifetime; + IHostApplicationLifetime appLifetime; ILogger logger; IServiceScope scope; IBatchInterceptor interceptor; Task runningTask; CancellationTokenSource cancellationTokenSource; - public BatchEngineService(IApplicationLifetime appLifetime, Type type, string[] args, ILogger logger, IServiceProvider provider) + public BatchEngineService(IHostApplicationLifetime appLifetime, Type type, string[] args, ILogger logger, IServiceProvider provider) : this(appLifetime, type, null, args, logger, provider) { } - public BatchEngineService(IApplicationLifetime appLifetime, Type type, MethodInfo methodInfo, string[] args, ILogger logger, IServiceProvider provider) + public BatchEngineService(IHostApplicationLifetime appLifetime, Type type, MethodInfo methodInfo, string[] args, ILogger logger, IServiceProvider provider) { this.args = args; this.type = type;