<PackageReference Include="castle.windsor" Version="2.5.2" />

ILifestyleManager

public interface ILifestyleManager : IDisposable
The ILifestyleManager implements a strategy for a given lifestyle, like singleton, per-thread and transient.
void Init(IComponentActivator componentActivator, IKernel kernel, ComponentModel model)

Initializes the ILifestyleManager with the IComponentActivator

bool Release(object instance)

Implementors should release the component instance based on the lifestyle semantic, for example, singleton components should not be released on a call for release, instead they should release them when disposed is invoked.

object Resolve(CreationContext context)

Implementors should return the component instance based on the lifestyle semantic.