Microsoft.Extensions.DependencyInjection.HttpClientKeyedLifetime class HttpClientKeyedLifetime Documentation Code public static readonly HttpClientKeyedLifetime Disabled public ServiceDescriptor Client { get; } public ServiceDescriptor Handler { get; } public bool IsDisabled { get; } public object ServiceKey { get; } public HttpClientKeyedLifetime(ServiceLifetime lifetime) public HttpClientKeyedLifetime(string name, ServiceLifetime lifetime) public void AddRegistration(IServiceCollection services) public void RemoveRegistration(IServiceCollection services)