<PackageReference Include="Castle.Windsor" Version="4.1.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(IKernel container); public CallContextLifetimeScope(); public CallContextLifetimeScope(IWindsorContainer container); public void Dispose(); public Burden GetCachedInstance(ComponentModel model, ScopedInstanceActivationCallback createInstance); public static CallContextLifetimeScope ObtainCurrentScope(); } }