Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.1.0-preview-536" />

 ContainerConfigurator

Represents a container configurator.

The container configuration.

Sets a callback delegate to call when the container configuration changes.

Enables conventional resolution, which means the container treats the constructor/method parameter or member names as dependency names used by named resolution.

public IContainerConfigurator WithCircularDependencyTracking(bool runtimeTrackingEnabled = false)

Enables the circular dependency tracking.

Allows circular dependencies through Lazy objects.

Sets the constructor selection rule.

Sets the default lifetime, used when a service doesn't have a configured one.

Enables the tracking of disposable transient objects.

Enables the member injection without annotation.

Forces the usage of Microsoft expression compiler to compile expression trees.

Enables the resolution of a named registration when a request ha been made without dependency name but with the same type.

Enables the optional and default value injection.

Sets the actual behavior used when a new service is going to be registered into the container. See the RegistrationBehavior enum for available options.

Enables the unknown type resolution.