临河任务调度
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
598B

  1. using System.Threading.Tasks;
  2. using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
  3. namespace Himp.TaskScheduling.Blazor.Host.Client;
  4. public class Program
  5. {
  6. public async static Task Main(string[] args)
  7. {
  8. var builder = WebAssemblyHostBuilder.CreateDefault(args);
  9. var application = await builder.AddApplicationAsync<TaskSchedulingBlazorHostClientModule>(options =>
  10. {
  11. options.UseAutofac();
  12. });
  13. var host = builder.Build();
  14. await application.InitializeApplicationAsync(host.Services);
  15. await host.RunAsync();
  16. }
  17. }