/// <summary> /// Specify Standard as the client to be used by the game host. /// </summary> /// <param name="hostBuilder"> /// The Contoso.GameNetCore.Hosting.IGameHostBuilder to configure. /// </param> /// <param name="configureOptions">A callback to configure Standard options.</param> /// <returns> /// The Contoso.GameNetCore.Hosting.IGameHostBuilder. /// </returns> public static IGameHostBuilder UseStandard(this IGameHostBuilder hostBuilder, Action <GameHostBuilderContext, StandardClientOptions> configureOptions) => hostBuilder.UseStandard().ConfigureStandard(configureOptions);
/// <summary> /// Specify Standard as the client to be used by the game host. /// </summary> /// <param name="hostBuilder"> /// The Contoso.GameNetCore.Hosting.IGameHostBuilder to configure. /// </param> /// <param name="options"> /// A callback to configure Standard options. /// </param> /// <returns> /// The Contoso.GameNetCore.Hosting.IGameHostBuilder. /// </returns> public static IGameHostBuilder UseStandard(this IGameHostBuilder hostBuilder, Action <StandardClientOptions> options) => hostBuilder.UseStandard().ConfigureStandard(options);