Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.1.1-preview-551" />

 RegistrationConfigurator

Represents the fluent service registration api.
public RegistrationConfigurator WithFactory(Func<IDependencyResolver, object> containerFactory, bool isCompiledLambda = false)

Sets a container factory delegate for the registration.

public RegistrationConfigurator WithFactory(Func<object> singleFactory, bool isCompiledLambda = false)

Sets a parameterless factory delegate for the registration.

public RegistrationConfigurator WithInstance(object instance, bool wireUp = false)

Sets an instance as the resolution target of the registration.