IServiceLifetimeSelector
Interfacenet10.0
The Compiled Lifetime Selector
namespace Specular.Abstractions;
public interface IServiceLifetimeSelector : Specular.Abstractions.IServiceTypeSelector{ // ...}Methods4
Section titled MethodsWithLifetime(ServiceLifetime) abstract Registers each matching concrete type with the specified
lifetime. WithScopedLifetime abstract Registers each matching concrete type with
ServiceLifetime.Scoped lifetime. WithSingletonLifetime abstract Registers each matching concrete type with
ServiceLifetime.Singleton lifetime. WithTransientLifetime abstract Registers each matching concrete type with
ServiceLifetime.Transient lifetime. 
