Beispiel #1
0
 /// <summary>
 /// Specify the startup method to be used to configure the game application.
 /// </summary>
 /// <param name="hostBuilder">The <see cref="IGameHostBuilder"/> to configure.</param>
 /// <param name="configureApp">The delegate that configures the <see cref="IApplicationBuilder"/>.</param>
 /// <returns>The <see cref="IGameHostBuilder"/>.</returns>
 public static IGameHostBuilder Configure(this IGameHostBuilder hostBuilder, Action <GameHostBuilderContext, IApplicationBuilder> configureApp) =>
 hostBuilder.Configure(configureApp, configureApp.GetMethodInfo().DeclaringType.GetTypeInfo().Assembly.GetName().Name);