AddHostedService <IHostedService1>(); services.AddHostedService<IHostedService2>(); }. Will output the following console output: 1 2 info: Microsoft.Hosting.
確定! 回上一頁