#pragma warning disable CS0618 // Type or member is obsolete public TestHostedService(IHostApplicationLifetime lifetime, AspNetCore.Hosting.IApplicationLifetime lifetime1, Extensions.Hosting.IApplicationLifetime lifetime2) #pragma warning restore CS0618 // Type or member is obsolete { _lifetime = lifetime; }
public TestHostedService(IApplicationLifetime lifetime, Extensions.Hosting.IApplicationLifetime lifetime2) { _lifetime = lifetime; }