Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.12.0-preview-821" />

 DecoratorConfigurator

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

Sets a container factory delegate for the registration.

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

Sets a parameter-less factory delegate for the registration.

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

Sets a parameterized factory delegate for the registration.

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

Sets a parameterized factory delegate for the registration.

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

Sets a parameterized factory delegate for the registration.

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

Sets a parameterized factory delegate for the registration.

public DecoratorConfigurator 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.