File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
MicroBatchFramework.WebHosting Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33using Microsoft . AspNetCore . Builder ;
44using Microsoft . AspNetCore . Hosting ;
55using Microsoft . Extensions . DependencyInjection ;
6+ using Microsoft . Extensions . Hosting ;
67using Microsoft . Extensions . Logging ;
78using System ;
89using System . Collections . Generic ;
@@ -66,7 +67,7 @@ public static IApplicationBuilder UseBatchEngineSwaggerMiddleware(this IApplicat
6667
6768 public class DefaultStartup
6869 {
69- public void Configure ( IApplicationBuilder app , IApplicationLifetime lifetime )
70+ public void Configure ( IApplicationBuilder app , IHostApplicationLifetime lifetime )
7071 {
7172 var interceptor = app . ApplicationServices . GetService < IBatchInterceptor > ( ) ;
7273 var provider = app . ApplicationServices . GetService < IServiceProvider > ( ) ;
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ namespace MicroBatchFramework
66{
77 internal class EmptyHostedService : IHostedService
88 {
9- readonly IApplicationLifetime appLifetime ;
9+ readonly IHostApplicationLifetime appLifetime ;
1010
11- public EmptyHostedService ( IApplicationLifetime appLifetime )
11+ public EmptyHostedService ( IHostApplicationLifetime appLifetime )
1212 {
1313 this . appLifetime = appLifetime ;
1414 }
You can’t perform that action at this time.
0 commit comments