Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.6.1-preview-633" />

 Lifetimes

public static class Lifetimes
Contains all the built-in lifetime managers.
namespace Stashbox.Lifetime { public static class Lifetimes { public static readonly LifetimeDescriptor Transient = new TransientLifetime(); public static readonly LifetimeDescriptor Singleton = new SingletonLifetime(); public static readonly LifetimeDescriptor Scoped = new ScopedLifetime(); public static readonly LifetimeDescriptor PerScopedRequest = new PerScopedRequestLifetime(); public static LifetimeDescriptor NamedScope(object name) { return new NamedScopeLifetime(name); } } }