Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="4.0.0-preview-665" />

 DecoratorConfigurator

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

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

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

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

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

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

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