Stashbox by Peter Csajtai

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

 InstanceOptions

public class InstanceOptions
Represents the instance registration options.
public readonly object ExistingInstance

The already stored instance which was provided by instance or wired up registration.

public readonly bool IsWireUp

If true, the existing instance will be wired into the container, it will perform member and method injection on it.