<PackageReference Include="Castle.Windsor" Version="5.0.1" />

Castle.MicroKernel.Lifestyle.Scoped.CallContextLifetimeScope

Provides explicit lifetime scoping within logical path of execution. Used for types with Scoped.
namespace Castle.MicroKernel.Lifestyle.Scoped { public class CallContextLifetimeScope : ILifetimeScope, IDisposable { public CallContextLifetimeScope(); public void Dispose(); public Burden GetCachedInstance(ComponentModel model, ScopedInstanceActivationCallback createInstance); public static CallContextLifetimeScope ObtainCurrentScope(); } }