Compartilhar via


ServiceDescriptor.Lifetime Propriedade

Definição

Obtém o ServiceLifetime do serviço.

public:
 property Microsoft::Extensions::DependencyInjection::ServiceLifetime Lifetime { Microsoft::Extensions::DependencyInjection::ServiceLifetime get(); };
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