Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.2.7-preview-594" />

 LifetimeDescriptor

public abstract class LifetimeDescriptor
Represents a lifetime descriptor.
protected virtual int LifeSpan { get; }

An indicator used to validate the lifetime configuration of the resolution tree. Services with longer life-span shouldn't contain dependencies with shorter ones.

protected string Name { get; }

The name of the lifetime, used only for diagnostic reasons.

protected LifetimeDescriptor()

Constructs the lifetime descriptor.