Class DiscoveryServiceCollectionExtensions.ApplicationLifecycle
Inheritance
System.Object
DiscoveryServiceCollectionExtensions.ApplicationLifecycle
Implements
Namespace: Steeltoe.Discovery.Client
Assembly: Steeltoe.Discovery.ClientBase.dll
Syntax
public class ApplicationLifecycle : object, IDiscoveryLifecycle
Constructors
| Edit this page View SourceApplicationLifecycle(IHostApplicationLifetime, IDiscoveryClient)
Declaration
public ApplicationLifecycle(IHostApplicationLifetime lifeCycle, IDiscoveryClient client)
Parameters
Type | Name | Description |
---|---|---|
IHostApplicationLifetime | lifeCycle | |
IDiscoveryClient | client |
Properties
| Edit this page View SourceApplicationStopping
Declaration
public CancellationToken ApplicationStopping { get; set; }
Property Value
Type | Description |
---|---|
CancellationToken |