Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.2.1-preview-567" />

 BaseFluentConfigurator<TConfigurator>

public class BaseFluentConfigurator<TConfigurator> : RegistrationConfiguration where TConfigurator : BaseFluentConfigurator<TConfigurator>
Represents the base of the fluent registration api.
public TConfigurator InjectMember(string memberName, object dependencyName = null)

Set a member (property / field) with the given name as a dependency that should be filled by the container.

public TConfigurator ReplaceExisting()

Tells the container that it should replace an existing registration with this one.

public TConfigurator WithAutoMemberInjection(AutoMemberInjectionRules rule = 4, Func<MemberInfo, bool> filter = null)

Enables auto member injection on the registration.

public TConfigurator WithConstructorByArguments(object[] arguments)

Sets the selected constructor.

public TConfigurator WithConstructorByArgumentTypes(Type[] argumentTypes)

Sets the selected constructor.

The constructor selection rule.

public TConfigurator WithDependencyBinding(Type dependencyType, object dependencyName)

Binds a constructor or method parameter to a named registration, so the container will perform a named resolution on the bound dependency.

public TConfigurator WithDependencyBinding(string parameterName, object dependencyName)

Binds a constructor or method parameter to a named registration, so the container will perform a named resolution on the bound dependency.

public TConfigurator WithInjectionParameter(string name, object value)

Sets injection parameters for the registration.

public TConfigurator WithInjectionParameters(KeyValuePair<string, object>[] injectionParameters)

Sets injection parameters for the registration.

public TConfigurator WithoutDisposalTracking()

Tells the container that it shouldn't track the resolved transient object for disposal.