<PackageReference Include="Relativity.ObjectManager" Version="12.1.171.20" />

LifestyleGroup<TService>

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

public ComponentRegistration<TService> PerWebRequest { get; }

public ComponentRegistration<TService> Pooled { get; }

public ComponentRegistration<TService> Singleton { get; }

public ComponentRegistration<TService> Transient { get; }

public LifestyleGroup(ComponentRegistration<TService> registration)

public ComponentRegistration<TService> BoundTo<TBaseForRoot>()

public ComponentRegistration<TService> BoundTo(Func<IHandler[], IHandler> scopeRootBinder)

public ComponentRegistration<TService> BoundToNearest<TBaseForRoot>()

public ComponentRegistration<TService> Custom(Type customLifestyleType)

public ComponentRegistration<TService> Custom<TLifestyleManager>() where TLifestyleManager : ILifestyleManager

public ComponentRegistration<TService> Is(LifestyleType type)

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

public ComponentRegistration<TService> Scoped<TScopeAccessor>() where TScopeAccessor : IScopeAccessor

public ComponentRegistration<TService> Scoped(Type scopeAccessorType)

public ComponentRegistration<TService> Scoped()