sunpengfei
2025-08-07 177aa6f1c4601e4fb34aff04c4e328c98b489888
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
 
namespace FlexJobApi.Core
{
    public class BuildDynamicControllersHostedService : IHostedService
    {
        public Task StartAsync(CancellationToken cancellationToken)
        {
            return ResourceUtils.BuildDynamicControllersAsync();
        }
 
        public Task StopAsync(CancellationToken cancellationToken)
        {
            return Task.CompletedTask;
        }
    }
}