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

AbstractLifestyleManager

Base implementation of ILifestyleManager

protected IKernel Kernel { get; }

protected ComponentModel Model { get; }

protected virtual Burden CreateInstance(CreationContext context, bool trackedExternally)

public abstract void Dispose()

Invoked when the container gets disposed. The container will not call it multiple times in multithreaded environments. However it may be called at the same time when some out of band release mechanism is in progress. Resolving those potential issues is the task of implementors

public virtual void Init(IComponentActivator componentActivator, IKernel kernel, ComponentModel model)

public virtual bool Release(object instance)

public virtual object Resolve(CreationContext context, IReleasePolicy releasePolicy)

protected virtual void Track(Burden burden, IReleasePolicy releasePolicy)