Share via


ServiceCharacteristics.Lifetime Property

Definition

The service lifetime.

public Microsoft.Extensions.DependencyInjection.ServiceLifetime Lifetime { get; }
member this.Lifetime : Microsoft.Extensions.DependencyInjection.ServiceLifetime
Public ReadOnly Property Lifetime As ServiceLifetime

Property Value

Applies to