Compartilhar via


ServiceCharacteristics.Lifetime Propriedade

Definição

O tempo de vida do serviço.

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

Valor da propriedade

Aplica-se a