Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.2.0-preview-739" />

 IFluentCompositor<TConfigurator>

interface IFluentCompositor<TConfigurator>
TConfigurator WithFactory(Func<IDependencyResolver, object> factory, bool isCompiledLambda = false)

Sets a container factory delegate for the registration.

TConfigurator WithFactory(Func<object> factory, bool isCompiledLambda = false)

Sets a parameter-less factory delegate for the registration.

TConfigurator WithFactory<T1>(Func<T1, object> factory, bool isCompiledLambda = false)

Sets a parameterized factory delegate for the registration.

TConfigurator WithFactory<T1, T2>(Func<T1, T2, object> factory, bool isCompiledLambda = false)

Sets a parameterized factory delegate for the registration.

TConfigurator WithFactory<T1, T2, T3>(Func<T1, T2, T3, object> factory, bool isCompiledLambda = false)

Sets a parameterized factory delegate for the registration.

TConfigurator WithFactory<T1, T2, T3, T4>(Func<T1, T2, T3, T4, object> factory, bool isCompiledLambda = false)

Sets a parameterized factory delegate for the registration.

TConfigurator WithFactory<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, object> factory, bool isCompiledLambda = false)

Sets a parameterized factory delegate for the registration.