我正在使用.NET 5,想要运行一个后台任务,使用IHostedService类,如下所示: public class PasargadJobs : IHostedService, IDisposable { private Timer _timer = null!; rea...