sunpengfei
2025-08-29 7c901453d4f4a6971986f63bdaeed85914f9e536
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;
        }
    }
}