Stashbox by Peter Csajtai

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

 RegistrationBuilder

static class RegistrationBuilder
public static ServiceRegistration BuildInstanceRegistration(IContainerContext containerContext, Type implementationType, object name, object instance, bool isWireUp, bool isLifetimeExternallyOwned, Action<object> finalizerDelegate)

public static ServiceRegistration BuildServiceRegistration(IContainerContext containerContext, RegistrationConfiguration registrationConfiguration, bool isDecorator)

public static ServiceRegistration BuildServiceRegistration(IContainerContext containerContext, Type implementationType, object name, LifetimeDescriptor lifetime, bool isDecorator)