Stashbox by Peter Csajtai

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

 FluentServiceConfigurator<TConfigurator>

public class FluentServiceConfigurator<TConfigurator> : BaseFluentConfigurator<TConfigurator> where TConfigurator : FluentServiceConfigurator<TConfigurator>
public TConfigurator DefinesScope(object scopeName = null)

public TConfigurator WithDynamicResolution()

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

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

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

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

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

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

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

public TConfigurator WithMetadata(object metadata)

public TConfigurator WithName(object name)