Stashbox by Peter Csajtai

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

 IFuncRegistrator

public interface IFuncRegistrator
Represents a factory registrator.
IStashboxContainer RegisterFunc<TService>(Func<IDependencyResolver, TService> factory, string name = null)

Registers a service with a factory resolver.

IStashboxContainer RegisterFunc<T1, TService>(Func<T1, IDependencyResolver, TService> factory, string name = null)

Registers a service with a factory resolver.

IStashboxContainer RegisterFunc<T1, T2, TService>(Func<T1, T2, IDependencyResolver, TService> factory, string name = null)

Registers a service with a factory resolver.

IStashboxContainer RegisterFunc<T1, T2, T3, TService>(Func<T1, T2, T3, IDependencyResolver, TService> factory, string name = null)

Registers a service with a factory resolver.

IStashboxContainer RegisterFunc<T1, T2, T3, T4, TService>(Func<T1, T2, T3, T4, IDependencyResolver, TService> factory, string name = null)

Registers a service with a factory resolver.