/// <summary>
 /// Set the registered item's contrainer resolution scope to <see cref="DreamContainerScope.Service"/>
 /// </summary>
 /// <param name="registrar">Registrar instance.</param>
 /// <returns>The modified registrar instance.</returns>
 public static IReflectiveRegistrar ServiceScoped(this IReflectiveRegistrar registrar)
 {
     return(registrar.InScope(DreamContainerScope.Service));
 }
 /// <summary>
 /// Set the registered item's contrainer resolution scope to <see cref="DreamContainerScope.Host"/>
 /// </summary>
 /// <param name="registrar">Registrar instance.</param>
 /// <returns>The modified registrar instance.</returns>
 public static IReflectiveRegistrar HostScoped(this IReflectiveRegistrar registrar)
 {
     return(registrar.InScope(DreamContainerScope.Host));
 }