Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="2.8.8" />

 ContainerContext

Represents the container context.
using Stashbox.Configuration; using Stashbox.Registration; namespace Stashbox { public class ContainerContext : IContainerContext { public IRegistrationRepository RegistrationRepository { get; } public IDecoratorRepository DecoratorRepository { get; } public IStashboxContainer Container { get; } public ContainerConfiguration ContainerConfiguration { get; set; } internal ContainerContext(IStashboxContainer container, ContainerConfiguration containerConfiguration) { Container = container; ContainerConfiguration = containerConfiguration; RegistrationRepository = new RegistrationRepository(containerConfiguration); DecoratorRepository = new DecoratorRepository(); } } }