Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.6.4-preview-646" />

 FluentServiceConfigurator<TConfigurator>

public class FluentServiceConfigurator<TConfigurator> : BaseFluentConfigurator<TConfigurator> where TConfigurator : FluentServiceConfigurator<TConfigurator>
Represents the fluent service registration api.
public TConfigurator DefinesScope(object scopeName = null)

This registration is used as a logical scope for it's dependencies. Dependencies registered with the InNamedScope with the same name will be preferred during resolution.

public TConfigurator WithName(object name)

Sets the name of the registration.