/// <summary> /// Configures the default service provider /// </summary> /// <param name="hostBuilder">The <see cref="IGameHostBuilder"/> to configure.</param> /// <param name="configure">A callback used to configure the <see cref="ServiceProviderOptions"/> for the default <see cref="IServiceProvider"/>.</param> /// <returns>The <see cref="IGameHostBuilder"/>.</returns> public static IGameHostBuilder UseDefaultServiceProvider(this IGameHostBuilder hostBuilder, Action <ServiceProviderOptions> configure) => hostBuilder.UseDefaultServiceProvider((context, options) => configure(options));