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

LifestyleGroup<S>

public class LifestyleGroup<S> : RegistrationGroup<S>
public ComponentRegistration<S> PerThread { get; }

public ComponentRegistration<S> Pooled { get; }

public ComponentRegistration<S> Singleton { get; }

public ComponentRegistration<S> Transient { get; }

public LifestyleGroup(ComponentRegistration<S> registration)

public ComponentRegistration<S> Custom(Type customLifestyleType)

public ComponentRegistration<S> PooledWithSize(int? initialSize, int? maxSize)